* include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.

This commit is contained in:
Corinna Vinschen 2003-12-04 09:37:55 +00:00
parent a562b2239a
commit 592db10ed7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-12-04 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.
2003-12-03 Corinna Vinschen <corinna@vinschen.de>
Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX

View File

@ -112,7 +112,7 @@ struct __flock32 {
struct __flock64 {
short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */
short l_whence; /* flag to choose starting offset */
_off_t l_start; /* relative offset, in bytes */
_off64_t l_start; /* relative offset, in bytes */
_off64_t l_len; /* length, in bytes; 0 means lock to EOF */
pid_t l_pid; /* returned with F_GETLK */
};