mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/io/gzio.c (grub_gzio_open): Always return original io if
file type was not recognized correctly (not gzip or corrupted).
This commit is contained in:
1 parent
f87abff538
commit
a5219af189
2 files changed
+6
-4
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2011-08-20 Szymon Janc <szymon@janc.net.pl>
|
||||||
|
|
||||||
|
* grub-core/io/gzio.c (grub_gzio_open): Always return original io if
|
||||||
|
file type was not recognized correctly (not gzip or corrupted).
|
||||||
|
|
||||||
2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-08-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
|
* grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
|
||||||
|
|||||||
+1
-4
@@ -1179,13 +1179,10 @@ grub_gzio_open (grub_file_t io)
|
|||||||
grub_free (gzio);
|
grub_free (gzio);
|
||||||
grub_free (file);
|
grub_free (file);
|
||||||
grub_file_seek (io, 0);
|
grub_file_seek (io, 0);
|
||||||
|
|
||||||
if (grub_errno == GRUB_ERR_BAD_FILE_TYPE)
|
|
||||||
{
|
|
||||||
grub_errno = GRUB_ERR_NONE;
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
|
||||||
return io;
|
return io;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user