svn commit: trunk/busybox/miscutils
vapier at busybox.net
vapier at busybox.net
Tue Jun 6 06:08:36 UTC 2006
Author: vapier
Date: 2006-06-05 23:08:34 -0700 (Mon, 05 Jun 2006)
New Revision: 15293
Log:
use vfork() instead of vork() since the only thing we do is execve() an app after fork (allows time to work on no-mmu)
Modified:
trunk/busybox/miscutils/time.c
Changeset:
Modified: trunk/busybox/miscutils/time.c
===================================================================
--- trunk/busybox/miscutils/time.c 2006-06-06 06:00:20 UTC (rev 15292)
+++ trunk/busybox/miscutils/time.c 2006-06-06 06:08:34 UTC (rev 15293)
@@ -410,7 +410,7 @@
__sighandler_t interrupt_signal, quit_signal;
gettimeofday(&resp->start, (struct timezone *) 0);
- pid = fork(); /* Run CMD as child process. */
+ pid = vfork(); /* Run CMD as child process. */
if (pid < 0)
bb_error_msg_and_die("cannot fork");
else if (pid == 0) { /* If child. */
More information about the busybox-cvs
mailing list