file type was not recognized correctly (not gzip or corrupted).
+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>
* grub-core/kern/mips/loongson/init.c (grub_reboot): Reboot Fuloong.
grub_free (gzio);
grub_free (file);
grub_file_seek (io, 0);
+ grub_errno = GRUB_ERR_NONE;
- if (grub_errno == GRUB_ERR_BAD_FILE_TYPE)
- {
- grub_errno = GRUB_ERR_NONE;
- return io;
- }
+ return io;
}
return file;