mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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
This commit is contained in:
parent
11bb09f1be
commit
47398b9c36
5 changed files with 15 additions and 14 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue