* fs/udf.c (grub_udf_iterate_dir): Silence a spurious warning.
This commit is contained in:
parent
189593857c
commit
f48c87aae8
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* fs/udf.c (grub_udf_iterate_dir): Silence a spurious warning.
|
||||||
|
|
||||||
2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-04-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* fs/udf.c (grub_udf_iterate_dir): Decode the Unicode filenames.
|
* fs/udf.c (grub_udf_iterate_dir): Decode the Unicode filenames.
|
||||||
|
|
2
fs/udf.c
2
fs/udf.c
|
@ -749,7 +749,7 @@ grub_udf_iterate_dir (grub_fshelp_node_t dir,
|
||||||
grub_uint8_t raw[dirent.file_ident_length];
|
grub_uint8_t raw[dirent.file_ident_length];
|
||||||
grub_uint16_t utf16[dirent.file_ident_length - 1];
|
grub_uint16_t utf16[dirent.file_ident_length - 1];
|
||||||
grub_uint8_t filename[dirent.file_ident_length * 2];
|
grub_uint8_t filename[dirent.file_ident_length * 2];
|
||||||
grub_size_t utf16len;
|
grub_size_t utf16len = 0;
|
||||||
|
|
||||||
type = ((dirent.characteristics & GRUB_UDF_FID_CHAR_DIRECTORY) ?
|
type = ((dirent.characteristics & GRUB_UDF_FID_CHAR_DIRECTORY) ?
|
||||||
(GRUB_FSHELP_DIR) : (GRUB_FSHELP_REG));
|
(GRUB_FSHELP_DIR) : (GRUB_FSHELP_REG));
|
||||||
|
|
Loading…
Add table
Reference in a new issue