Do continue when our device can't be openened in SetVolumeLabel

Paul van Schayck polleke at
Tue Feb 15 04:56:25 CST 2005


This seems to be the correct thing. First we look if it is a fat
partition. Then we check if we can write to it. If we can't write we
return "permission denied".
If it isn't a fat partition we continue with an other approach.

Without this patch we would stop if we couldn't open the device as a
fat partition.

This fixes winecfg volume label setting.

Only stop writing a volume label if we found a non writable fat partition
-------------- next part --------------
A non-text attachment was scrubbed...
Name: volume.diff
Type: text/x-patch
Size: 604 bytes
Desc: not available
Url :

More information about the wine-patches mailing list