diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 08:25:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 08:25:05 +0000 |
commit | bdb04f922004ff8433591f138e40c09722836c45 (patch) | |
tree | 965b2db38d2cd7f9fb5114a10d53e3ddcc2bfad4 /nptl/pt-open64.c | |
parent | 3335502bec2220c7d1e89929d489c1a91a1d862b (diff) | |
download | glibc-bdb04f922004ff8433591f138e40c09722836c45.tar.gz |
Update.
* scripts/output-format.sed: Fix bug in one of the s expressions
which used / for one too many things.
Diffstat (limited to 'nptl/pt-open64.c')
-rw-r--r-- | nptl/pt-open64.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/nptl/pt-open64.c b/nptl/pt-open64.c index 25eec281f4..27757f5ed4 100644 --- a/nptl/pt-open64.c +++ b/nptl/pt-open64.c @@ -29,20 +29,18 @@ int __open64 (const char *pathname, int flags, ...) { - int oldtype; - int result; va_list ap; va_start (ap, flags); - CANCEL_ASYNC (oldtype); + int oldtype = CANCEL_ASYNC (); #if defined INLINE_SYSCALL && defined O_LARGEFILE - result = INLINE_SYSCALL (open, 3, pathname, flags | O_LARGEFILE, - va_arg (ap, __typeof ((mode_t) 0 + 0))); + int result = INLINE_SYSCALL (open, 3, pathname, flags | O_LARGEFILE, + va_arg (ap, __typeof ((mode_t) 0 + 0))); #else - result = __libc_open64 (pathname, flags, - va_arg (ap, __typeof ((mode_t) 0 + 0))); + int result = __libc_open64 (pathname, flags, + va_arg (ap, __typeof ((mode_t) 0 + 0))); #endif CANCEL_RESET (oldtype); |