OSDN Git Service

Changed the mode argument for all the popen() calls to be just "w",
authorGreg Ungerer <gerg@snapgear.com>
Mon, 3 Apr 2006 00:24:56 +0000 (00:24 +0000)
committerGreg Ungerer <gerg@snapgear.com>
Mon, 3 Apr 2006 00:24:56 +0000 (00:24 +0000)
commit3901905f37d1ceb394009b0571d920997c28b66d
tree5404137483ae160e8c2626a47457097e468e7d7f
parent22effd1ea2b2ce421721f6fdf2129ecce94bc08b
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