From 0e18d8ef788ce5237035240eae0a8ce3bf0d87c1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Aug 1993 02:40:31 +0000 Subject: [PATCH] (vfork): Move this outside the USG conditional. --- src/sysdep.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index c80051e2031..3cc0a8cf801 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2579,6 +2579,19 @@ sys_write (fildes, buf, nbyte) #endif /* INTERRUPTIBLE_IO */ +#ifndef HAVE_VFORK + +/* + * Substitute fork for vfork on USG flavors. + */ + +vfork () +{ + return (fork ()); +} + +#endif /* not HAVE_VFORK */ + #ifdef USG /* * All of the following are for USG. @@ -2715,19 +2728,6 @@ rename (from, to) #endif -#ifndef HAVE_VFORK - -/* - * Substitute fork for vfork on USG flavors. - */ - -vfork () -{ - return (fork ()); -} - -#endif /* not HAVE_VFORK */ - #ifdef MISSING_UTIMES /* HPUX (among others) sets HAVE_TIMEVAL but does not implement utimes. */ -- 2.39.5