mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/fs/hfs.c (grub_hfs_dir): Use memset instead of
initialisation to avoid __bzero reference.
This commit is contained in:
1 parent
f7143efe1b
commit
7de5e20af4
2 files changed
+8
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2012-05-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/hfs.c (grub_hfs_dir): Use memset instead of
|
||||
initialisation to avoid __bzero reference.
|
||||
|
||||
2012-05-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/i386/pc/startup_raw.S [__APPLE__]: Add Apple assembly
|
||||
|
||||
+3
-1
@@ -1163,10 +1163,12 @@ grub_hfs_dir (grub_device_t device, const char *path,
|
||||
struct grub_hfs_dirrec *drec = rec->data;
|
||||
struct grub_hfs_filerec *frec = rec->data;
|
||||
struct grub_hfs_catalog_key *ckey = rec->key;
|
||||
char fname[sizeof (ckey->str) * MAX_UTF8_PER_MAC_ROMAN + 1] = { 0 };
|
||||
char fname[sizeof (ckey->str) * MAX_UTF8_PER_MAC_ROMAN + 1];
|
||||
struct grub_dirhook_info info;
|
||||
grub_size_t len;
|
||||
|
||||
grub_memset (fname, 0, sizeof (fname));
|
||||
|
||||
grub_memset (&info, 0, sizeof (info));
|
||||
|
||||
len = ckey->strlen;
|
||||
|
||||
Reference in new issue
Block a user