bug-bash
[Top][All Lists]
Advanced

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

Re: FIFO silently ignored on . ( `source´ ) command


From: Chet Ramey
Subject: Re: FIFO silently ignored on . ( `source´ ) command
Date: Mon, 12 Dec 2011 09:30:14 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 12/12/11 9:24 AM, Timothy Madden wrote:
> On 12.12.2011 16:05, Chet Ramey wrote:
>> On 12/12/11 7:54 AM, Timothy Madden wrote:
>>
>>> I have
>>>      GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) on an
>>> up-to-date CentOS 5.7 (Final) x64,
>>> and
>>>      GNU bash, version 4.1.10(4)-release (i686-pc-cygwin) on Windows 7
>>> x64 SP1.
>>>
>>> In both OSes I noted that `source´ built-in does not work on a FIFO. On
>>> CentOS the command is just ignored, and on cygwin it blocks indefinitely (I
>>> guess).  Ok, cygwin FIFOs may not be a good test case, but  I think CentOS
>>> ones are.
>>
>> This was changed about five years ago, before bash-4.0 was released.
> 
> Oh, sorry.
> 
> My CentOS 5 is still on bash-3.2.25. I must be quite unlucky, since on
> 3.2.48 it works.

That's interesting, since there are no bash-3.2 patches between 25 and 48
that touch that part of the code.  I wonder if the CentOS people folded
in other changes.

> CentOS 6 promises to do better, but unfortunately it is not compatible with
> CentOS 5.

Really?  How is it incompatible?  That's unusual for CentOS, from what I
hear.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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