[git commit future] lseek.c: missed to define __NR___lseek_nocancel

Peter S. Mazinger ps.m at gmx.net
Fri Apr 22 23:21:30 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=5eb086a0fd544f04b696f140039908653cca63c2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Reported-by: Tony Wu <tung7970 at gmail.com>
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/common/lseek.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c
index ce769d3..688f2d0 100644
--- a/libc/sysdeps/linux/common/lseek.c
+++ b/libc/sysdeps/linux/common/lseek.c
@@ -12,6 +12,7 @@
 #include <cancel.h>
 
 #ifdef __NR_lseek
+# define __NR___lseek_nocancel __NR_lseek
 _syscall3(off_t, __NC(lseek), int, fd, off_t, offset, int, whence)
 #else
 # include <errno.h>
-- 
1.7.3.4



More information about the uClibc-cvs mailing list