* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
EX ioctls on floppy drives.
This commit is contained in:
		| @@ -1,3 +1,15 @@ | ||||
| 2005-09-29  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call | ||||
| 	EX ioctls on floppy drives. | ||||
|  | ||||
| 2005-09-29  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* dir.cc (mkdir): Check for trailing /. or /.. component. | ||||
| 	(rmdir): Ditto. | ||||
| 	* path.cc (has_dot_last_component): New function. | ||||
| 	* path.h (has_dot_last_component): Add declaration. | ||||
|  | ||||
| 2005-09-29  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* crt0.cc: Remove PPC considerations. | ||||
|   | ||||
| @@ -47,7 +47,7 @@ fhandler_dev_floppy::get_drive_info (struct hd_geometry *geo) | ||||
|  | ||||
|   /* Always try using the new EX ioctls first (>= XP).  If not available, | ||||
|      fall back to trying the old non-EX ioctls. */ | ||||
|   if (wincap.has_disk_ex_ioctls ()) | ||||
|   if (wincap.has_disk_ex_ioctls () && pc.dev.major != DEV_FLOPPY_MAJOR) | ||||
|     { | ||||
|       if (!DeviceIoControl (get_handle (), | ||||
| 			    IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, NULL, 0, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user