2010-01-05 Colin Watson <cjwatson@ubuntu.com>
* util/mkisofs/write.c (padblock_write): Switch size and nmemb arguments to fread so that we get a return value in bytes, rather than something that will normally be rounded down to 0. Adjust error handling to avoid producing garbage when size_t is not the same size as long long.
This commit is contained in:
parent
a136811886
commit
3bff18c5c6
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
2010-01-05 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/mkisofs/write.c (padblock_write): Switch size and nmemb
|
||||
arguments to fread so that we get a return value in bytes, rather
|
||||
than something that will normally be rounded down to 0.
|
||||
Adjust error handling to avoid producing garbage when size_t is not
|
||||
the same size as long long.
|
||||
|
||||
2010-01-05 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/mkisofs/write.c (padblock_write): Check return value of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue