summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-10-05 13:38:29 +0000
committerAndrew Tridgell <tridge@samba.org>1996-10-05 13:38:29 +0000
commit2aa612d676e634a892fdc50349f5b72732f0e91f (patch)
tree23bdeaf7a089fdd788aed08ac1b9f71ca463b179
parent92566ecc315c29da6e9aaa67ddae33e64f5bcc67 (diff)
downloadsamba-2aa612d676e634a892fdc50349f5b72732f0e91f.tar.gz
samba-2aa612d676e634a892fdc50349f5b72732f0e91f.tar.xz
samba-2aa612d676e634a892fdc50349f5b72732f0e91f.zip
- use waitpid for ultrix
- don't use wait4
-rw-r--r--source/include/includes.h1
-rw-r--r--source/lib/system.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 90358ce49ad..9d6bde51975 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -311,6 +311,7 @@ char *getwd(char *);
#define SIGNAL_CAST (void(*)(int))
#endif
#define USE_DIRECT
+#define USE_WAITPID
#endif
#ifdef SGI
diff --git a/source/lib/system.c b/source/lib/system.c
index 5ece0ca0241..995c6beed51 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -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
}
/*******************************************************************