diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-23 00:38:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:45 -0500 |
commit | f3b412fbd6dd94d64eb6a63d88baef2816891c29 (patch) | |
tree | 61b6086157d30cf1dd64c8cc720638cd484c78d1 /source4/torture | |
parent | 92d74c340843f52aaced18dcc243965387fcaedb (diff) | |
download | samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.tar.gz samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.tar.bz2 samba-f3b412fbd6dd94d64eb6a63d88baef2816891c29.zip |
r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index e60f1caf78..b4aefb8780 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2168,7 +2168,7 @@ double torture_create_procs(BOOL (*fn)(struct smbcli_state *, int), BOOL *result for (i=0;i<torture_nprocs;i++) { int ret; - while ((ret=sys_waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; + while ((ret=waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; if (ret == -1 || WEXITSTATUS(status) != 0) { *result = False; } |