* path.cc (symlink_info::check): Return with error set to ENOENT if
STATUS_NO_MEDIA_IN_DEVICE is returned.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2009-06-08  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* path.cc (symlink_info::check): Return with error set to ENOENT if | ||||
| 	STATUS_NO_MEDIA_IN_DEVICE is returned. | ||||
|  | ||||
| 2009-06-07  Christopher Faylor  <me+cygwin@cgf.cx> | ||||
|  | ||||
| 	* cygheap.h (mini_cygheap): New struct. | ||||
|   | ||||
| @@ -2268,7 +2268,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, | ||||
| 	     error in get_nt_native_path.  Both status codes are deliberately | ||||
| 	     not tested here unless proved necessary. */ | ||||
| 	  if (status == STATUS_OBJECT_PATH_NOT_FOUND | ||||
| 	      || status == STATUS_OBJECT_NAME_INVALID) | ||||
| 	      || status == STATUS_OBJECT_NAME_INVALID | ||||
| 	      || status == STATUS_NO_MEDIA_IN_DEVICE) | ||||
| 	    { | ||||
| 	      set_error (ENOENT); | ||||
| 	      goto file_not_symlink; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user