[maemo-commits] [maemo-commits] r14980 - projects/haf/trunk/maemo-launcher/launcher
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Dec 14 20:37:05 EET 2007
- Previous message: [maemo-commits] r14979 - in projects/haf/trunk/maemo-launcher: . launcher
- Next message: [maemo-commits] r14981 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: guillem Date: 2007-12-14 20:37:03 +0200 (Fri, 14 Dec 2007) New Revision: 14980 Modified: projects/haf/trunk/maemo-launcher/launcher/launcher.c Log: Fix commit r14979 Modified: projects/haf/trunk/maemo-launcher/launcher/launcher.c =================================================================== --- projects/haf/trunk/maemo-launcher/launcher/launcher.c 2007-12-14 18:18:53 UTC (rev 14979) +++ projects/haf/trunk/maemo-launcher/launcher/launcher.c 2007-12-14 18:37:03 UTC (rev 14980) @@ -240,16 +240,6 @@ } static bool -invoked_send_fake_exit(int sock) -{ - /* Send a fake exit code, so the invoker does not wait for us. */ - invoked_send_exit(sock, 0); - close(sock); - - return true; -} - -static bool invoked_get_args(int fd, prog_t *prog) { int i; @@ -354,6 +344,16 @@ return true; } +static bool +invoked_send_fake_exit(int fd) +{ + /* Send a fake exit code, so the invoker does not wait for us. */ + invoked_send_exit(fd, 0); + close(child.sock); + + return true; +} + static void clean_daemon(int signal) { @@ -851,7 +851,7 @@ child.name = prog.name; if (!kindergarten_insert_child(kg, &child)) - invoked_send_fake_exit(child->sock); + invoked_send_fake_exit(child.sock); } else close(sd);
- Previous message: [maemo-commits] r14979 - in projects/haf/trunk/maemo-launcher: . launcher
- Next message: [maemo-commits] r14981 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]