[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk 3.1 rewinds stdin before reading it as a program
From: |
Aharon Robbins |
Subject: |
Re: gawk 3.1 rewinds stdin before reading it as a program |
Date: |
Thu, 16 Aug 2001 12:11:12 +0300 |
Greetings. Re this:
> Date: Mon, 13 Aug 2001 10:19:35 -0700 (PDT)
> From: Paul Eggert <address@hidden>
> To: address@hidden
> Subject: gawk 3.1 rewinds stdin before reading it as a program
>
> gawk 3.1 rewinds standard input before reading it as a program. This
> causes it to behave incorrectly in some cases. Here is an example,
> running on Solaris 8. Solaris 8 'awk' works correctly, but gawk
> mishandles this example.
>
> ....
>
> Here is a patch.
Largely incorporated verbatim; I kept lseek since I'm going
to need it for some other stuff.
Thanks,
Arnold