diff options
| author | Richard M. Stallman | 1993-08-03 02:40:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-03 02:40:31 +0000 |
| commit | 0e18d8ef788ce5237035240eae0a8ce3bf0d87c1 (patch) | |
| tree | 600dd203bd3085b1bafd17f2736a7951bc83ddee /src | |
| parent | 43549f18f506866eebe66f91a04a2e2b41eccb0b (diff) | |
| download | emacs-0e18d8ef788ce5237035240eae0a8ce3bf0d87c1.tar.gz emacs-0e18d8ef788ce5237035240eae0a8ce3bf0d87c1.zip | |
(vfork): Move this outside the USG conditional.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 26 |
1 files 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) | |||
| 2579 | 2579 | ||
| 2580 | #endif /* INTERRUPTIBLE_IO */ | 2580 | #endif /* INTERRUPTIBLE_IO */ |
| 2581 | 2581 | ||
| 2582 | #ifndef HAVE_VFORK | ||
| 2583 | |||
| 2584 | /* | ||
| 2585 | * Substitute fork for vfork on USG flavors. | ||
| 2586 | */ | ||
| 2587 | |||
| 2588 | vfork () | ||
| 2589 | { | ||
| 2590 | return (fork ()); | ||
| 2591 | } | ||
| 2592 | |||
| 2593 | #endif /* not HAVE_VFORK */ | ||
| 2594 | |||
| 2582 | #ifdef USG | 2595 | #ifdef USG |
| 2583 | /* | 2596 | /* |
| 2584 | * All of the following are for USG. | 2597 | * All of the following are for USG. |
| @@ -2715,19 +2728,6 @@ rename (from, to) | |||
| 2715 | 2728 | ||
| 2716 | #endif | 2729 | #endif |
| 2717 | 2730 | ||
| 2718 | #ifndef HAVE_VFORK | ||
| 2719 | |||
| 2720 | /* | ||
| 2721 | * Substitute fork for vfork on USG flavors. | ||
| 2722 | */ | ||
| 2723 | |||
| 2724 | vfork () | ||
| 2725 | { | ||
| 2726 | return (fork ()); | ||
| 2727 | } | ||
| 2728 | |||
| 2729 | #endif /* not HAVE_VFORK */ | ||
| 2730 | |||
| 2731 | #ifdef MISSING_UTIMES | 2731 | #ifdef MISSING_UTIMES |
| 2732 | 2732 | ||
| 2733 | /* HPUX (among others) sets HAVE_TIMEVAL but does not implement utimes. */ | 2733 | /* HPUX (among others) sets HAVE_TIMEVAL but does not implement utimes. */ |