mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
2005-05-08 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/fsys_xfs.c (next_dentry): Use arrays of arrays instead of arrays of pointers for USUAL, to avoid read-only strings. Reported by Sven Wegener <swegener@gentoo.org>.
This commit is contained in:
1 parent
6884fee4be
commit
1262b6e7ef
5 files changed
+10
-3
No files matched your search
+1
-1
@@ -334,7 +334,7 @@ next_dentry (xfs_ino_t *ino)
|
||||
{
|
||||
int namelen = 1;
|
||||
int toread;
|
||||
static char *usual[2] = {".", ".."};
|
||||
static char usual[2][3] = {".", ".."};
|
||||
static xfs_dir2_sf_entry_t *sfe;
|
||||
char *name = usual[0];
|
||||
|
||||
|
||||
Reference in new issue
Block a user