bug-sed
[Top][All Lists]
Advanced

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

bug#20795: [PATCH][TRY2] Fix behavior of --follow-symlinks on stdin


From: Jim Meyering
Subject: bug#20795: [PATCH][TRY2] Fix behavior of --follow-symlinks on stdin
Date: Mon, 20 Jul 2015 07:06:23 -0700

On Mon, Jul 20, 2015 at 6:44 AM, Stanislav Brabec <address@hidden> wrote:
> On Thu Jun 16, 2015 at 06:45 ANN Jim Meyering wrote:
>>
>> On Mon, Jul 13, 2015 at 1:59 PM, Stanislav Brabec <address@hidden>
>> wrote:
>>>
>>> When reading from stdin, --follow-symlinks causes failure since
>>> v4.2.1-13-g84066bf:
>>> echo abc | sed --follow-symlinks s/a/d/
>>> sed: cannot stat -: No such file or directory
>>>
>>> Never call follow_symlink("-") to prevent this problem.
>>> http://bugs.gnu.org/20795
>>
>>
>> Thank you for the patch.
>> I've made only a few small changes.
>> E.g., I added the ChangeLog-style commit log we require,
>> adjusting wording in a few places, and I removed some
>> useless quotes in the new test file.
>>
>> Just in case, I'll wait for you to review and ack before pushing this.
>>
> ACK, looks OK.

Pushed.





reply via email to

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