Rev 4264 | Rev 4331 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4264 | Rev 4265 | ||
|---|---|---|---|
| Line 273... | Line 273... | ||
| 273 | static void loader_run(ipc_callid_t rid, ipc_call_t *request) |
273 | static void loader_run(ipc_callid_t rid, ipc_call_t *request) |
| 274 | { |
274 | { |
| 275 | const char *cp; |
275 | const char *cp; |
| 276 | 276 | ||
| 277 | /* Set the task name. */ |
277 | /* Set the task name. */ |
| 278 | cp = strrchr(pathname, '/'); |
278 | cp = str_rchr(pathname, '/'); |
| 279 | cp = (cp == NULL) ? pathname : (cp + 1); |
279 | cp = (cp == NULL) ? pathname : (cp + 1); |
| 280 | task_set_name(cp); |
280 | task_set_name(cp); |
| 281 | 281 | ||
| 282 | if (is_dyn_linked == true) { |
282 | if (is_dyn_linked == true) { |
| 283 | /* Dynamically linked program */ |
283 | /* Dynamically linked program */ |