Add block device support to file_getfilesize on Linux
authorKenneth Bell <ken.git@chezbell.org.uk>
Tue, 21 Dec 2010 11:53:04 +0000 (11:53 +0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 21 Dec 2010 22:49:15 +0000 (17:49 -0500)
commit4ac6a56d98e38578bc52792e977bf569fb39d556
tree646bde2bac0d27e209618b3c9d34e12a4507391b
parent9ec33796d21161769c49b779a911c8d76f849323
Add block device support to file_getfilesize on Linux

FileStream.Length for a block device (such as '/dev/sr0') now returns actual size, rather than Zero on Linux.
mono/io-layer/io.c