OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134080c
)
mode_t was being promoted to an int by gcc's __builtin_va_arg, causing bad
author
Eric Andersen
<andersen@codepoet.org>
Wed, 21 Aug 2002 00:00:45 +0000
(
00:00
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 21 Aug 2002 00:00:45 +0000
(
00:00
-0000)
things to happen. This makes it explicit, so pthread using apps are no longer
broken...
-Erik
libpthread/linuxthreads/wrapsyscall.c
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads/wrapsyscall.c
b/libpthread/linuxthreads/wrapsyscall.c
index
ba6d1b8
..
8478708
100644
(file)
--- a/
libpthread/linuxthreads/wrapsyscall.c
+++ b/
libpthread/linuxthreads/wrapsyscall.c
@@
-109,13
+109,13
@@
CANCELABLE_SYSCALL (int, nanosleep, (const struct timespec *requested_time,
/* open(2). */
CANCELABLE_SYSCALL_VA (int, open, (const char *pathname, int flags, ...),
- (pathname, flags, va_arg (ap,
mode_
t)), flags)
+ (pathname, flags, va_arg (ap,
in
t)), flags)
#ifdef __UCLIBC_HAVE_LFS__
/* open64(3). */
CANCELABLE_SYSCALL_VA (int, open64, (const char *pathname, int flags, ...),
- (pathname, flags, va_arg (ap,
mode_
t)), flags)
+ (pathname, flags, va_arg (ap,
in
t)), flags)
#endif
/* pause(2). */