Re: [uclibc-ng-devel] [PATCH] lseek.c: bugfix ltp lseek01.c

2018-04-13 Thread Waldemar Brodkorb
Hi Guo, Guo Ren wrote, > Ref the implement from the glibc and high=0 seems so bad. > > Signed-off-by: Guo Ren Applied and pushed, thx Waldemar ___ devel mailing list devel@uclibc-ng.org https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Re: [uclibc-ng-devel] [PATCH] common/sendfile.c: bugfix can't support offset is NULL

2018-04-13 Thread Waldemar Brodkorb
Hi Guo, Guo Ren wrote, > In ltp testcase sendfile08.c, it use offset=NULL to test the api. > > See "man sendfile" and it really support offset is NULL. > > Signed-off-by: Guo Ren Applied and pushed, thx Waldemar ___ devel mailing list devel@uclibc

Re: [uclibc-ng-devel] [PATCH] or1k: add F_{DUPFD_CLOEXEC, SETPIPE_SZ, GETPIPE_SZ}

2018-04-13 Thread Waldemar Brodkorb
Hi Thomas, Thomas Petazzoni wrote, > Those definitions exist on all other architectures, but were not > present in or1k specific headers when or1k support was merged. > > On the kernel side, their support is completely architecture > independent, so we just need those definitions to make those fc

[uclibc-ng-devel] [PATCH] lseek.c: bugfix ltp lseek01.c

2018-04-13 Thread Guo Ren
Ref the implement from the glibc and high=0 seems so bad. Signed-off-by: Guo Ren --- libc/sysdeps/linux/common/lseek.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c index 33df822..80d6931 100644 ---

[uclibc-ng-devel] [PATCH] common/sendfile.c: bugfix can't support offset is NULL

2018-04-13 Thread Guo Ren
In ltp testcase sendfile08.c, it use offset=NULL to test the api. See "man sendfile" and it really support offset is NULL. Signed-off-by: Guo Ren --- libc/sysdeps/linux/common/sendfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/common/sendfile.c b/