Re: [PATCH] input: fix logic bug that breaks on O_TEXT systems

2015-09-24 Thread Chet Ramey
On 9/24/15 5:47 PM, Eric Blake wrote: > The bash-20101229 snapshot introduced an attempt to incorporate > some patches that were previously used downstream by Cygwin > with regards to managing scripts read with O_TEXT mode (where > lseek() sees different offsets than the number of bytes read, > bec

[PATCH] input: fix logic bug that breaks on O_TEXT systems

2015-09-24 Thread Eric Blake
The bash-20101229 snapshot introduced an attempt to incorporate some patches that were previously used downstream by Cygwin with regards to managing scripts read with O_TEXT mode (where lseek() sees different offsets than the number of bytes read, because the system is converting physical '\r\n' in