Package: bomstrip / 9-17

Metadata

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

Patch series

view the series file
Patch File delta Description
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
typos.patch | (download)

bomstrip_expl.bf | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 correct a typographical error.
constify.patch | (download)

bomstrip.c | 6 3 + 3 - 0 !
bomstrip.cpp | 10 5 + 5 - 0 !
2 files changed, 8 insertions(+), 8 deletions(-)

 mark some c and c++ variables as constant.