diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 16:40:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-04 19:53:45 -0700 |
commit | eadd89b7c87921ea3274e76017046b8bf884b336 (patch) | |
tree | 8c77b931a6323823542f33836ba765f46d6ff97c /tests/fcntl/src.c | |
parent | 0560adda8a6c0259478a54e5b514ceaafe8fc10c (diff) |
make memory management sane: 0 is null, then static including globals, then stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB)
Diffstat (limited to 'tests/fcntl/src.c')
-rw-r--r-- | tests/fcntl/src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fcntl/src.c b/tests/fcntl/src.c index c8c71c8a..c60e578e 100644 --- a/tests/fcntl/src.c +++ b/tests/fcntl/src.c @@ -5,7 +5,7 @@ int main() { int f = open("/test", O_RDWR, 0777); - printf("F_DUPFD: %d\n", fcntl(f, F_DUPFD, 100)); + printf("F_DUPFD: %d\n", fcntl(f, F_DUPFD, 100) >= 100); printf("errno: %d\n", errno); printf("\n"); errno = 0; |