OSDN Git Service

Changed the mode argument for all the popen() calls to be just "w",
authorgerg <gerg>
Mon, 3 Apr 2006 00:24:56 +0000 (00:24 +0000)
committergerg <gerg>
Mon, 3 Apr 2006 00:24:56 +0000 (00:24 +0000)
commitd3a565f44c29e3793b97a5382f14cd20078e6df6
tree5404137483ae160e8c2626a47457097e468e7d7f
parentc4d617413737eae8fdc7bc71b3c8c5dcd6e4cc27
Changed the mode argument for all the popen() calls to be just "w",
instead of "wb". According to the Linux manual page posix implementations
must accept only "r" or "w", no other characters. And you will get a
return error with EINVAL with modern version og glibc if this is not
the case.

It may well be that this is fine for CYGWIN too, someone needs to
test and report.

Calls to fopen and the like are unchanged, and they certainly do
support the "b" mode specifier.
flthdr.c