diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 23:37:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:12 -0500 |
commit | f20f1f994ac375ab96cc8a38075b99aa20041b3f (patch) | |
tree | 1f42756291e0246863248d9203508b9057cf7d7c /source4/torture | |
parent | 75b2790da896dee22e638bcc760d26c5064a9b3c (diff) | |
download | samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.tar.gz samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.tar.bz2 samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.zip |
r3445: made the gtk tooks use minimal includes. This approximately halves the
total include lines in compiling C files in Samba (the .gch file is
now 5M instead of 12M)
This also gets rid of the silly gtk compile warning for non-gtk code
(This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
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 4eab4e1ecc..15ecd02923 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2379,7 +2379,7 @@ double torture_create_procs(BOOL (*fn)(struct smbcli_state *, int), BOOL *result for (i=0;i<torture_nprocs;i++) { int ret; - while ((ret=waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; + while ((ret=sys_waitpid(0, &status, 0)) == -1 && errno == EINTR) /* noop */ ; if (ret == -1 || WEXITSTATUS(status) != 0) { *result = False; } |