diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-05-12 11:06:27 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-05-12 11:06:27 +0000 |
commit | 194d9eb318403b1618c3f77eba6de4e17b7c900d (patch) | |
tree | 2c7028f9a5a1f8c1c60e37a6556aa9d8e1556cf7 /winsup/cygwin/ipc.cc | |
parent | 01859fc441c2f253f258bbe13de1e77ba2ffe8bd (diff) | |
download | cygnal-194d9eb318403b1618c3f77eba6de4e17b7c900d.tar.gz cygnal-194d9eb318403b1618c3f77eba6de4e17b7c900d.tar.bz2 cygnal-194d9eb318403b1618c3f77eba6de4e17b7c900d.zip |
* Makefile.in (CYGWIN_START): Define as crt0.o. Add to TARGET_LIBS.
* fhandler.h (fhandler_virtual::fstat): Remove useless declaration.
* fhandler_virtual.cc: Remove _COMPILING_NEWLIB define.
* ipc.cc (ftok): Use stat64.
* syscalls.cc (_fstat64): Remove alias.
(_fstat): Ditto.
(_stat): Ditto.
(_fstat64_r): New function.
(_fstat_r): Ditto.
(_stat64_r): Ditto.
(stat_r): Ditto.
* crt0.o: New file, moved from newlib.
* include/sys/param.h: Ditto.
* include/sys/utime.h: Ditto.
* include/sys/utmp.h: Ditto.
* include/sys/dirent.h: Ditto. Expose different struct dirent,
dependening of the environment.
Diffstat (limited to 'winsup/cygwin/ipc.cc')
-rw-r--r-- | winsup/cygwin/ipc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ipc.cc b/winsup/cygwin/ipc.cc index 538791553..e4a36cb7f 100644 --- a/winsup/cygwin/ipc.cc +++ b/winsup/cygwin/ipc.cc @@ -21,8 +21,8 @@ extern "C" key_t ftok (const char *path, int id) { - struct stat statbuf; - if (stat (path, &statbuf)) + struct __stat64 statbuf; + if (stat64 (path, &statbuf)) { /* stat set the appropriate errno for us */ return (key_t) -1; |