[Libsysio-commit] HEAD: libsysio/src fcntl.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2004-07-20 22:50:53
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22448 Modified Files: fcntl.c Log Message: Trivially unnecessary to trouble ourselves with passing the return macro a zero errno when no error is indicated. Index: fcntl.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/fcntl.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -w -b -B -p -r1.14 -r1.15 --- fcntl.c 20 Jul 2004 22:41:52 -0000 1.14 +++ fcntl.c 20 Jul 2004 22:50:44 -0000 1.15 @@ -133,7 +133,7 @@ SYSIO_INTERFACE_NAME(fcntl)(int fd, int } out: - SYSIO_INTERFACE_RETURN((err < 0) ? -1 : err, (err < 0) ? err : 0); + SYSIO_INTERFACE_RETURN((err < 0) ? -1 : err, err); } #ifdef __GLIBC__ |