diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-01 18:16:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-01 18:16:40 +0000 |
commit | 7be1ce59cf62e956f5ad82034f8e7e05ffc0871d (patch) | |
tree | 7b4f3f579db30580ee36e5918fa5ef328d81c7b4 | |
parent | 540c68f4717a11a5c4217fa352b6ada4980c1517 (diff) | |
download | newlib-7be1ce59cf62e956f5ad82034f8e7e05ffc0871d.zip newlib-7be1ce59cf62e956f5ad82034f8e7e05ffc0871d.tar.gz newlib-7be1ce59cf62e956f5ad82034f8e7e05ffc0871d.tar.bz2 |
* sysconf.cc (sysconf): Return arbitrary values for _SC_GETGR_R_SIZE_MAX,
_SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX.
* passwd.cc (getpwuid_r32): Add uid/gid fields to size check calculation.
* exceptions.cc (events_init): Display name of mutex on failure.
* windows.cc (setitimer): Return ENOSYS on invalid argument.
-rw-r--r-- | winsup/cygwin/fhandler.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index fc15d96..1515d80 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -967,9 +967,13 @@ rootdir (char *full_path) } int __stdcall -fhandler_base::fstat (struct __stat64 *buf, path_conv *) +fhandler_base::fstat (struct __stat64 *buf, path_conv *pc) { debug_printf ("here"); + + if (is_fs_device ()) + return fstat_fs (buf, pc); + switch (get_device ()) { case FH_PIPE: |