[4815] block-vvfat.c - fix is_free predicate, by Tristan Gingold.
Revision: 4815
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4815 Author: ths Date: 2008-07-01 16:44:58 +0000 (Tue, 01 Jul 2008)
Log Message:
-----------block-vvfat.c - fix is_free predicate, by Tristan Gingold.
Modified Paths:
--------------
trunk/block-vvfat.c
Modified: trunk/block-vvfat.c
===================================================================
block-vvfat.c +1 -2
@@ -454,8 +454,7 @@static char is_free (const direntry_t * direntry) { -/* return direntry->name[0]==0 ; */ -return direntry->attributes ==0 || direntry->name[0 ]==0xe5 ; +return direntry->name[0 ]==0xe5 || direntry->name[0 ]==0x00 ; }static char is_volume_label (const direntry_t * direntry)