Hi. Using NULL as filename for xfreopen is non-portable. It simply fails on MinGW and crashes on MSVC. The following patch uses the binary-io module instead as recommended by Bruno Haible on the gnulib bugs ML.
Cheers, Claudio
diffutils_binaryio.diff
Description: Binary data
