diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-24 20:34:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-24 20:34:27 +0000 |
commit | 9157f0f3ec8d3046603b325b6bd8b43d1b62d13a (patch) | |
tree | b9784b32688a4ba3b230be8f26bfab004cdc0ea7 /winsup/cygwin/fhandler.h | |
parent | d5f60b41f43da8a982a1789c78c1dbc4ede190c3 (diff) | |
download | cygnal-9157f0f3ec8d3046603b325b6bd8b43d1b62d13a.tar.gz cygnal-9157f0f3ec8d3046603b325b6bd8b43d1b62d13a.tar.bz2 cygnal-9157f0f3ec8d3046603b325b6bd8b43d1b62d13a.zip |
* fhandler.h (fhandler_base::fhaccess): Return int for compatibility with
access.
* fhandler.cc (fhandler_base::fhaccess): Return int. Use consistent variable
name for exit value. Exit at bottom, printing debugging information, like
other cygwin functions.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 514609b45..568e5237b 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -364,7 +364,7 @@ class fhandler_base bool is_auto_device () {return isdevice () && !dev ().isfs ();} bool is_fs_special () {return pc.is_fs_special ();} bool device_access_denied (int) __attribute__ ((regparm (2))); - bool fhaccess (int flags) __attribute__ ((regparm (2))); + int fhaccess (int flags) __attribute__ ((regparm (2))); }; class fhandler_socket: public fhandler_base |