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:
parent
5c5215d5e2
commit
5ac35b35b0
2 changed files with 27 additions and 14 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue