Changeset 86e3d62 in mainline


Ignore:
Timestamp:
2008-11-06T22:47:12Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7faabb7
Parents:
9d20ea8
Message:

Fix: Quit loader when caller hangs up (was leaking VCs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r9d20ea8 r86e3d62  
    248248                /* Statically linked program */
    249249//              printf("Run statically linked program\n");
    250 //              printf("entry point: 0x%llx\n", prog_info.entry);
     250//              printf("entry point: 0x%lx\n", prog_info.entry);
    251251                is_dyn_linked = false;
    252252                ipc_answer_0(rid, EOK);
     
    286286                /* Dynamically linked program */
    287287                printf("run dynamic linker\n");
    288                 printf("entry point: 0x%llx\n", interp_info.entry);
     288                printf("entry point: 0x%lx\n", interp_info.entry);
    289289                close_console();
    290290
     
    320320
    321321                switch (IPC_GET_METHOD(call)) {
     322                case IPC_M_PHONE_HUNGUP:
     323                        exit(0);
    322324                case LOADER_GET_TASKID:
    323325                        loader_get_taskid(callid, &call);
Note: See TracChangeset for help on using the changeset viewer.