* fhandler_raw.cc (fhandler_dev_raw::open): Eliminate compatibility

code since no Win32 device names are used anymore.
        * fhandler_tape.cc (fhandler_dev_tape::tape_set_blocksize): Allow
        0 as blocksize to indicate variable blocksize.
        * path.cc (win32_device_name): Generate NT internal device names
        using upper/lower case names for readability.
        Generate \DosDevices\<letter>: device name for mount table
        compatibility devices.
This commit is contained in:
Corinna Vinschen
2001-10-16 20:17:23 +00:00
parent 2de2be2235
commit 081be67e75
4 changed files with 40 additions and 39 deletions

View File

@@ -692,7 +692,7 @@ fhandler_dev_tape::tape_set_blocksize (long count)
if (lasterr)
return lasterr;
if (count < min || count > max)
if (count != 0 && (count < min || count > max))
return tape_error (ERROR_INVALID_PARAMETER, "tape_set_blocksize");
mp.BlockSize = count;