* fhandler.h (fhandler_base::issymlink): New method.
* syscalls.cc (open): Handle O_NOFOLLOW flag. * include/fcntl.h (_FNOFOLLOW): New define. (O_NOFOLLOW): Ditto. * include/cygwin/version.h: Bump API minor number.
This commit is contained in:
@ -363,6 +363,7 @@ class fhandler_base
|
||||
virtual bool is_slow () {return 0;}
|
||||
bool is_auto_device () {return isdevice () && !dev ().isfs ();}
|
||||
bool is_fs_special () {return pc.is_fs_special ();}
|
||||
bool issymlink () {return pc.issymlink ();}
|
||||
bool device_access_denied (int) __attribute__ ((regparm (2)));
|
||||
int fhaccess (int flags) __attribute__ ((regparm (2)));
|
||||
friend class fhandler_fifo;
|
||||
|
Reference in New Issue
Block a user