Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-12-04 12:37:55 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-12-04 12:37:55 +0300
commit592db10ed70900654b4e2ca2d23dce2da2df3fab (patch)
tree70d9e1d56d8058f6f5f4870179c5e3ee46445dc6
parenta562b2239a6bc6372779c9c6a50855626976c2f6 (diff)
* include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/cygwin/types.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a0adf1010..2cb5fe16f 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h
index fc803aca1..aaa0f67f1 100644
--- a/winsup/cygwin/include/cygwin/types.h
+++ b/winsup/cygwin/include/cygwin/types.h
@@ -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 */
};