* path.cc (win32_device_name): Only fill out destination buffer when it's
really a device.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2003-10-01  Christopher Faylor  <cgf@redhat.com> | ||||
|  | ||||
| 	* path.cc (win32_device_name): Only fill out destination buffer when | ||||
| 	it's really a device. | ||||
|  | ||||
| 2003-09-30  Christopher Faylor  <cgf@redhat.com> | ||||
|  | ||||
| 	* Makefile.in: Add YA method for generating devices.cc. | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -895,12 +895,14 @@ digits (const char *name) | ||||
| /* Return TRUE if src_path is a Win32 device name, filling out the device | ||||
|    name in win32_path */ | ||||
|  | ||||
| static BOOL | ||||
| static bool | ||||
| win32_device_name (const char *src_path, char *win32_path, device& dev) | ||||
| { | ||||
|   dev.parse (src_path); | ||||
|   if (dev.devn == FH_FS) | ||||
|     return false; | ||||
|   strcpy (win32_path, dev.native); | ||||
|   return dev.devn != FH_FS; | ||||
|   return true; | ||||
| } | ||||
|  | ||||
| /* Normalize a Win32 path. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user