* grub-core/fs/ntfs.c (list_file): Set mtime to correct value.
This commit is contained in:
parent
47e297d4a4
commit
80a3dc3fb4
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/ntfs.c (list_file): Set mtime to correct value.
|
||||||
|
|
||||||
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Don't skip "." and
|
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Don't skip "." and
|
||||||
|
|
|
@ -650,10 +650,7 @@ list_file (struct grub_ntfs_file *diro, char *pos,
|
||||||
|
|
||||||
fdiro->data = diro->data;
|
fdiro->data = diro->data;
|
||||||
fdiro->ino = u32at (pos, 0);
|
fdiro->ino = u32at (pos, 0);
|
||||||
if (u64at (pos, 0x20) > u64at (pos, 0x28))
|
fdiro->mtime = u64at (pos, 0x20);
|
||||||
fdiro->mtime = u64at (pos, 0x20);
|
|
||||||
else
|
|
||||||
fdiro->mtime = u64at (pos, 0x28);
|
|
||||||
|
|
||||||
ustr = grub_malloc (ns * GRUB_MAX_UTF8_PER_UTF16 + 1);
|
ustr = grub_malloc (ns * GRUB_MAX_UTF8_PER_UTF16 + 1);
|
||||||
if (ustr == NULL)
|
if (ustr == NULL)
|
||||||
|
|
Loading…
Reference in a new issue