Re: [uclibc-ng-devel] _FILE_OFFSET_BITS=64 and preadv/pwritev prototypes

2018-06-10 Thread Waldemar Brodkorb
Hi Sergey, what does the patch fixes? Compiler warnings? Runtime issues? ... best regards Waldemar > Am 10.06.2018 um 22:28 schrieb Sergey Korolev : > > As preadv and pwritev accept off_t type the prototypes should be declared as > follows > > extern ssize_t preadv (int __fd, const struct io

[uclibc-ng-devel] _FILE_OFFSET_BITS=64 and preadv/pwritev prototypes

2018-06-10 Thread Sergey Korolev
As preadv and pwritev accept off_t type the prototypes should be declared as follows extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, off_t __offset) __wur; extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count,

Re: [uclibc-ng-devel] __WIFSTOPPED macro for MIPS

2018-06-10 Thread Waldemar Brodkorb
Hio Sergey, it was added with this commit by Denys: 4a96b948687166da26a6c327e6c6733ad2336c5c Denys, do you remember why? best regards Waldemar Sergey Korolev wrote, > Does anyone know why __WIFSTOPPED macro redefined for MIPS architecture as > > #if !defined(__mips__)                       

[uclibc-ng-devel] __WIFSTOPPED macro for MIPS

2018-06-10 Thread Sergey Korolev
Does anyone know why __WIFSTOPPED macro redefined for MIPS architecture as #if !defined(__mips__) #define__WIFSTOPPED(status)(((status) & 0xff) == 0x7f) #else #define__WIFSTOPPED(status)(((status) & 0xff) == 0x7f && ((status) & 0xff00)) #endif ? The problem with this definitio