[Libsysio-commit] HEAD: libsysio/src fcntl.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2006-01-03 13:05:41
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3827 Modified Files: fcntl.c Log Message: Fix problem in case with duplicate labels when the LK calls are the same as the LK64 calls. For instance, with a 64-bit processor. From Oleg Drokin at Cluster FS. Thanks! Index: fcntl.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/fcntl.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -b -B -p -r1.23 -r1.24 --- fcntl.c 28 Oct 2005 17:59:31 -0000 1.23 +++ fcntl.c 3 Jan 2006 13:05:29 -0000 1.24 @@ -193,6 +193,7 @@ _sysio_vfcntl(int fd, int cmd, va_list a } } break; +#if !(_LARGEFILE64_SOURCE || F_GETLK64 == F_GETLK) case F_GETLK: case F_SETLK: case F_SETLKW: @@ -248,6 +249,7 @@ _sysio_vfcntl(int fd, int cmd, va_list a rtn = 0; } break; +#endif /* !(_LARGEFILE64_SOURCE || F_GETLK64 == F_GETLK) */ #if _LARGEFILE64_SOURCE case F_GETLK64: case F_SETLK64: |