diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-12-01 17:26:28 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-12-01 17:26:28 +0000 |
commit | dc3998682acd295299bffc3c544af74503e1dc02 (patch) | |
tree | 9d483f863e7902630121a627e6db18f632e3ad60 /winsup/cygwin/cygwin.din | |
parent | 6c2b7846124572ffed3ce4fea074cc89e732651c (diff) | |
download | cygnal-dc3998682acd295299bffc3c544af74503e1dc02.tar.gz cygnal-dc3998682acd295299bffc3c544af74503e1dc02.tar.bz2 cygnal-dc3998682acd295299bffc3c544af74503e1dc02.zip |
* Makefile.in (OBSOLETE_FUNCTIONS): Add fcntl.
(NEW_FUNCTIONS): Add fcntl64.
* cygwin.din: Export fcntl64. Make fcntl being SIGFE.
* fcntl.cc (fcntl_worker): New function.
(fcntl64): New function.
(_fcntl): Call fcntl_worker. Convert 32 bit flock structure into
64 bit flock structure and vice versa.
* fhandler.cc (fhandler_base::lock): Change 2nd parameter to
struct __flock64 *.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto. Rework
to be 64 bit aware.
* fhandler.h: Accomodate above method argument changes.
* include/cygwin/types.h: Add struct __flock32 and __flock64.
Define struct flock according to setting of __CYGWIN_USE_BIG_TYPES__.
* include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index b5d71578a..0611076fe 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -464,8 +464,9 @@ fclose SIGFE _fclose = fclose SIGFE fcloseall SIGFE _fcloseall = fcloseall SIGFE -fcntl NOSIGFE -_fcntl = fcntl NOSIGFE +fcntl SIGFE +_fcntl = fcntl SIGFE +_fcntl64 = fcntl64 SIGFE fcvt SIGFE _fcvt = fcvt SIGFE fcvtbuf SIGFE @@ -501,6 +502,7 @@ _finitef = finitef NOSIGFE fiprintf SIGFE _fiprintf = fiprintf SIGFE flock SIGFE +flock SIGFE floor NOSIGFE _floor = floor NOSIGFE floorf NOSIGFE |