+2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Don't skip "." and
+ "..".
+
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/hfsplus.c (grub_hfsplus_catfile): New field parentid.
}
/* . and .. */
- if (!filename && dirent.namelen == 1 && (name[0] == ';' || name[0] == 0 || name[0] == 1))
- {
- grub_free (node);
- continue;
- }
+ if (!filename && dirent.namelen == 1 && name[0] == 0)
+ filename = (char *) ".";
+
+ if (!filename && dirent.namelen == 1 && name[0] == 1)
+ filename = (char *) "..";
/* The filename was not stored in a rock ridge entry. Read it
from the iso9660 filesystem. */