automake-patches
[Top][All Lists]
Advanced

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

Re: [FYI] {master} refactor: use modern semantics of 'open'


From: Russ Allbery
Subject: Re: [FYI] {master} refactor: use modern semantics of 'open'
Date: Tue, 24 Apr 2012 15:50:21 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> Help!  I can't release autoconf 2.69 until I figure out how to work
> around this patch.  After updating to the latest shared files, as well
> as applying this patch, I'm now stuck with output going to a literal
> file named '-' instead of going to stdout.  I suspect that the
> conversion to the 2-arg form is mishandling our idiom of '-' as standard
> in/out.

If you call open with three arguments, "-" has no special meaning and
refers to a file named "-" (since the whole point of three-argument open
is to remove all magic interpretations of the filename string).  The
easiest way to work around this is probably to change the Automake helper
functions that sit between the code and the Perl open command and have
them switch to calling open with two arguments if the file name is "-".

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

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