* path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as paths
including `:' or `\'.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2001-05-10  Kazuhiro Fujieda  <fujieda@jaist.ac.jp> | ||||
|          | ||||
| 	* path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as | ||||
| 	paths including `:' or `\'. | ||||
|  | ||||
| Wed May  9 14:46:32 2001  Christopher Faylor <cgf@cygnus.com> | ||||
|  | ||||
| 	* fhandler.h (fhandler_termios::echo_erase): Declare new method. | ||||
|   | ||||
| @@ -1171,7 +1171,7 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, | ||||
|  | ||||
|   /* An MS-DOS spec has either a : or a \.  If this is found, short | ||||
|      circuit most of the rest of this function. */ | ||||
|   if (strpbrk (src_path, ":\\") != NULL) | ||||
|   if (strpbrk (src_path, ":\\") != NULL || slash_unc_prefix_p (src_path)) | ||||
|     { | ||||
|       debug_printf ("%s already win32", src_path); | ||||
|       rc = normalize_win32_path (src_path, dst); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user