* path.h (path_conv::issocket): Return true if device == FH_UNIX rather than
expecting path_conv to set a flag.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2005-02-15  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
|  | 	* path.h (path_conv::issocket): Return true if device == FH_UNIX rather | ||||||
|  | 	than expecting path_conv to set a flag. | ||||||
|  |  | ||||||
| 2005-02-11  Corinna Vinschen  <corinna@vinschen.de> | 2005-02-11  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* fhandler.cc (fhandler_base::raw_write): Mark as changed on | 	* fhandler.cc (fhandler_base::raw_write): Mark as changed on | ||||||
|   | |||||||
| @@ -143,7 +143,7 @@ class path_conv | |||||||
|   int isspecial () const {return dev.devn && dev.devn != FH_FS;} |   int isspecial () const {return dev.devn && dev.devn != FH_FS;} | ||||||
|   int is_auto_device () const {return isdevice () && !is_fs_special ();} |   int is_auto_device () const {return isdevice () && !is_fs_special ();} | ||||||
|   int is_fs_special () const {return isspecial () && dev.isfs ();} |   int is_fs_special () const {return isspecial () && dev.isfs ();} | ||||||
|   int issocket () const {return path_flags & PATH_SOCKET;} |   int issocket () const {return dev.devn == FH_UNIX;} | ||||||
|   int iscygexec () const {return path_flags & PATH_CYGWIN_EXEC;} |   int iscygexec () const {return path_flags & PATH_CYGWIN_EXEC;} | ||||||
|   bool exists () const {return fileattr != INVALID_FILE_ATTRIBUTES;} |   bool exists () const {return fileattr != INVALID_FILE_ATTRIBUTES;} | ||||||
|   bool has_attribute (DWORD x) const {return exists () && (fileattr & x);} |   bool has_attribute (DWORD x) const {return exists () && (fileattr & x);} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user