Package: bomstrip / 9-7

Metadata

Package Version Patches format
bomstrip 9-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_c_warnings.patch | (download)

bomstrip.c | 23 13 + 10 - 0 !
1 file changed, 13 insertions(+), 10 deletions(-)

 make this program really work and fix some compiler warnings
 - make buf[] and utf8bom[] global to make sure they're zero-initialized
   and also to save stack space
 - use a sane size for buf[]
 - replace the fread() < 0 check with one for ferror()
 - check the return code of fwrite(), too