[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect lseek() when processing script ending in unterminated line
From: |
Chet Ramey |
Subject: |
Re: incorrect lseek() when processing script ending in unterminated line |
Date: |
Wed, 21 Dec 2016 14:00:52 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 12/21/16 9:35 AM, Stephane Chazelas wrote:
> Hello.
>
> That was discovered at
> http://unix.stackexchange.com/a/331884
>
> Consider this script that modifies itself (and happens not to
> end in a newline character):
Thanks for the report, looks like a relatively unlikely scenario.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/