summaryrefslogtreecommitdiff
path: root/source3
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
commitf6c9fed7acaef5ff532a9cdf8d7f8a470fa7f73f (patch)
treeb75b262ce9c3a201d2a55b417ea698cedc07dc17 /source3
parentf3c79936d7fc21d3257432962b23764ca00b0cbb (diff)
downloadsamba-f6c9fed7acaef5ff532a9cdf8d7f8a470fa7f73f.tar.gz
samba-f6c9fed7acaef5ff532a9cdf8d7f8a470fa7f73f.tar.bz2
samba-f6c9fed7acaef5ff532a9cdf8d7f8a470fa7f73f.zip
- use waitpid for ultrix
- don't use wait4 (This used to be commit 2aa612d676e634a892fdc50349f5b72732f0e91f)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/system.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 90358ce49a..9d6bde5197 100644
--- a/source3/include/includes.h
+++ b/source3/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/source3/lib/system.c b/source3/lib/system.c
index 5ece0ca024..995c6beed5 100644
--- a/source3/lib/system.c
+++ b/source3/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
}
/*******************************************************************