Re: [PATCH 1/3] Xext/shm: Fix usage of F_GETFD to match standard

2016-09-12 Thread Julien Cristau
On Sun, Sep 11, 2016 at 20:01:49 -0700, Jeremy Huddleston Sequoia wrote: > flags = fcntl(fd, F_GETFD) is compliant. > > fcntl(fd, F_GETFD, ) is non-compliant (Linux extension?) > > cf: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html > Signed-off-by: Jeremy Huddleston

[PATCH 1/3] Xext/shm: Fix usage of F_GETFD to match standard

2016-09-11 Thread Jeremy Huddleston Sequoia
flags = fcntl(fd, F_GETFD) is compliant. fcntl(fd, F_GETFD, ) is non-compliant (Linux extension?) cf: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fcntl.html Signed-off-by: Jeremy Huddleston Sequoia --- Xext/shm.c | 3 ++- 1 file changed, 2 insertions(+), 1