Hi,
attached patch opens files in "binary" mode for reading and writing. That doesn't matter on unix, but on Windows (and maybe Mac OS) there will be newline conversions that don't belong into binary images.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
Patrick