projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a982b53
)
block-vvfat.c - fix is_free predicate, by Tristan Gingold.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Jul 2008 16:44:58 +0000
(16:44 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Jul 2008 16:44:58 +0000
(16:44 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4815
c046a42c
-6fe2-441c-8c8c-
71466251a162
block-vvfat.c
patch
|
blob
|
history
diff --git
a/block-vvfat.c
b/block-vvfat.c
index a93fde9702bebcb99357c0ba05ef57360d380dd7..f5ae4f1648334f0d14111f2f69dd45be4030807c 100644
(file)
--- a/
block-vvfat.c
+++ b/
block-vvfat.c
@@
-454,8
+454,7
@@
static inline direntry_t* create_long_filename(BDRVVVFATState* s,const char* fil
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)