- use waitpid for ultrix
authorAndrew Tridgell <tridge@samba.org>
Sat, 5 Oct 1996 13:38:29 +0000 (13:38 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 5 Oct 1996 13:38:29 +0000 (13:38 +0000)
- don't use wait4

source/include/includes.h
source/lib/system.c

index 90358ce49ad55cbad10d66be516859d736cd932d..9d6bde519755665193f04e5c825befbe188ba7e3 100644 (file)
@@ -311,6 +311,7 @@ char *getwd(char *);
 #define SIGNAL_CAST (void(*)(int))
 #endif
 #define USE_DIRECT
+#define USE_WAITPID
 #endif
 
 #ifdef SGI
index 5ece0ca024173149ae1a53ca127c52701aae7482..995c6beed518ee2bfd9ab9b30bc8d95bc3cc8ccb 100644 (file)
@@ -146,11 +146,7 @@ The wait() calls vary between systems
 ********************************************************************/
 int sys_waitpid(pid_t pid,int *status,int options)
 {
-#ifdef USE_WAITPID
   return waitpid(pid,status,options);
-#else
-  return wait4(pid,status,options,NULL);
-#endif
 }
 
 /*******************************************************************