diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-22 20:04:24 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-22 20:04:24 +0000 |
commit | 47398b9c3681ebcd4eb942e732628cdfb172664e (patch) | |
tree | fc69fbd7f6ab9caa68d77f7adb93b46ddbc75c18 /block-vvfat.c | |
parent | 11bb09f1be8e5157b21065e14efda7fd0c7221e7 (diff) |
Use qemu_isfoobar and qemu_towombat versions, based on patch by Christoph Egger
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5774 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-vvfat.c')
-rw-r--r-- | block-vvfat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block-vvfat.c b/block-vvfat.c index 7d4c934d3f..b8fa72981b 100644 --- a/block-vvfat.c +++ b/block-vvfat.c @@ -1485,7 +1485,7 @@ static int parse_short_name(BDRVVVFATState* s, if (direntry->name[i] <= ' ' || direntry->name[i] > 0x7f) return -1; else if (s->downcase_short_names) - lfn->name[i] = tolower(direntry->name[i]); + lfn->name[i] = qemu_tolower(direntry->name[i]); else lfn->name[i] = direntry->name[i]; } @@ -1498,7 +1498,7 @@ static int parse_short_name(BDRVVVFATState* s, if (direntry->extension[j] <= ' ' || direntry->extension[j] > 0x7f) return -2; else if (s->downcase_short_names) - lfn->name[i + j] = tolower(direntry->extension[j]); + lfn->name[i + j] = qemu_tolower(direntry->extension[j]); else lfn->name[i + j] = direntry->extension[j]; } |