* fhandler_floppy.cc (fhandler_floppy::lseek): Remove iswinnt check.
This commit is contained in:
parent
669153e144
commit
37c23731c7
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Sep 5 12:12:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_floppy.cc (fhandler_floppy::lseek): Remove iswinnt check.
|
||||||
|
|
||||||
Wed Sep 5 11:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
Wed Sep 5 11:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_socket.cc (fhandler_socket::close): Change 2MSL value
|
* fhandler_socket.cc (fhandler_socket::close): Change 2MSL value
|
||||||
|
|
|
@ -91,8 +91,6 @@ fhandler_dev_floppy::lseek (off_t offset, int whence)
|
||||||
DWORD low;
|
DWORD low;
|
||||||
LONG high = 0;
|
LONG high = 0;
|
||||||
|
|
||||||
if (iswinnt)
|
|
||||||
{
|
|
||||||
DISK_GEOMETRY di;
|
DISK_GEOMETRY di;
|
||||||
PARTITION_INFORMATION pi;
|
PARTITION_INFORMATION pi;
|
||||||
DWORD bytes_read;
|
DWORD bytes_read;
|
||||||
|
@ -128,7 +126,6 @@ fhandler_dev_floppy::lseek (off_t offset, int whence)
|
||||||
di.SectorsPerTrack * di.BytesPerSector;
|
di.SectorsPerTrack * di.BytesPerSector;
|
||||||
}
|
}
|
||||||
debug_printf ("drive size: %ld", drive_size);
|
debug_printf ("drive size: %ld", drive_size);
|
||||||
}
|
|
||||||
|
|
||||||
if (whence == SEEK_END && drive_size > 0)
|
if (whence == SEEK_END && drive_size > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue