Fixed GetLogicalDriveString
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Sat, 4 Sep 2010 18:02:17 +0000 (14:02 -0400)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Sat, 4 Sep 2010 18:02:17 +0000 (14:02 -0400)
commita40645b6afc09f0f2bc916b8f0752fa7cdea4ef8
tree1470e37ed1c1690cb7a4b2c261a57530b9343a2f
parent64091c3d00c528ab55f6adde732ed5d5352c39ce
Fixed GetLogicalDriveString

When calling GetLogicalDriveString, icall.c was passing the
length in the wrong units.

GetLogicalDriveString now translates any octal sequence found
into its corresponding byte. Use the UTF16 length
('items_written') instead of the UTF8 input string length
('items_read') when computing the total size.
mono/io-layer/io.c
mono/metadata/icall.c