autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


From: Tim Van Holder
Subject: Re: (no subject)
Date: Tue, 18 Sep 2001 22:15:01 +0200

> Tim> binmode $fh->SUPER;
> 
> It might be right, I just don't understand it!
> Why not binmode $fh?
I don't know - I was making it up as I went along.
It's quite possible binmode $fh would be enough; it's just
that OO Perl is somewhat outside my current Perl knowledge.
Of course, this second draft also dropped too much; it would
cause _every_ file to be in binary mode, and we don't want that
for input files (besides the CR issus, putting stdin in
binmode locks up the console under DJGPP).
Also, autom4te's main work is done through a call to system()
which uses regular redirection, so that output file (which
seems to be the main output file) will have DOSish line
endings under DOS (which makes the resulting configure scripts
unrunnable under most Unices).  I don't see a good way out of
that (unless the system() is changed to an XFile pipe, but I'm
not sure whether that's worth it).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]