* syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).
This commit is contained in:
parent
c8b4fe26ea
commit
ac924d61de
|
@ -1,3 +1,7 @@
|
|||
2007-01-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (sync): Use b_drive for B: drive (Thanks to Howard Chu).
|
||||
|
||||
2007-01-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (getpagesize): Change condition for clarity.
|
||||
|
|
|
@ -1124,7 +1124,7 @@ sync ()
|
|||
if (is_floppy ("A:"))
|
||||
GetVolumeNameForVolumeMountPointA ("A:\\", a_drive, CYG_MAX_PATH);
|
||||
if (is_floppy ("B:"))
|
||||
GetVolumeNameForVolumeMountPointA ("B:\\", a_drive, CYG_MAX_PATH);
|
||||
GetVolumeNameForVolumeMountPointA ("B:\\", b_drive, CYG_MAX_PATH);
|
||||
|
||||
HANDLE sh = FindFirstVolumeA (vol, CYG_MAX_PATH);
|
||||
if (sh != INVALID_HANDLE_VALUE)
|
||||
|
|
Loading…
Reference in New Issue