diff options
author | Wichert Akkerman <wichert@deephackmode.org> | 2000-08-10 02:14:04 +0000 |
---|---|---|
committer | Wichert Akkerman <wichert@deephackmode.org> | 2000-08-10 02:14:04 +0000 |
commit | 16a03d2e97415afe6cf34172a0aea97a95a0b160 (patch) | |
tree | 6f229102401c8d22a9cd85c69f63dcb49b36ca6f /test | |
parent | e381610a008714838053fdb9ca9b6b9bdeeaa8e4 (diff) | |
download | strace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.gz strace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.bz2 strace-16a03d2e97415afe6cf34172a0aea97a95a0b160.tar.xz |
test/clone.c: minor fixup
Another bunch of patches from John Hughes merged:
signal.c:
+ SVR4 printcontext(): sigset_t != sigset_t*
+ getcontext returns a value, so print on exit of syscall
+ add UC_FP to ucontext_flags for OS writers that can't spell
+ sys_signal(): special case SIG_{ERR,DFL,IGN}
+ decode_subcall(): only do subcall range checking when needed
bunch of UnixWare updates
aclocal.m4, acconfig.h, configure.in: add test for long long type
Diffstat (limited to 'test')
-rw-r--r-- | test/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clone.c b/test/clone.c index 4fb6613..1395b6b 100644 --- a/test/clone.c +++ b/test/clone.c @@ -10,7 +10,7 @@ int main() { char stack[4096]; - if (clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL) == 0) + if (clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL) != 0) write(1, "original\n", 9); exit(0); } |