2009-06-10 Pavel Roskin <proski@gnu.org>

* io/gzio.c (test_header): Don't reuse one buffer for all data.
	Use separate variables.  Read only the file size at the end, but
	not the checksum that we don't use.
This commit is contained in:
proski 2009-06-11 01:06:39 +00:00
parent 5c5215d5e2
commit 5ac35b35b0
2 changed files with 27 additions and 14 deletions

View file

@ -1,5 +1,9 @@
2009-06-10 Pavel Roskin <proski@gnu.org>
* io/gzio.c (test_header): Don't reuse one buffer for all data.
Use separate variables. Read only the file size at the end, but
not the checksum that we don't use.
* kern/file.c (grub_file_read): Use void pointer for the buffer.
Adjust all callers.