[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: awk core dump on non-existent file
From: |
Andrew J. Schorr |
Subject: |
Re: awk core dump on non-existent file |
Date: |
Tue, 11 Jul 2006 13:02:10 -0400 |
User-agent: |
Mutt/1.4.2.1i |
Hi Ed,
On Tue, Jul 11, 2006 at 06:02:59AM -0500, Ed Morton wrote:
> I couldn't find anything on the gawk web site or in the manual about a
> site where I could check for known bugs so appologies if this is known
> but I did try to check:
>
> $ sh --version | head -1
> GNU bash, version 3.00.16(11)-release (i686-pc-cygwin)
> $ awk --version | head -1
> GNU Awk 3.1.5
> $ ls garbage
> ls: garbage: No such file or directory
> $ awk 1 garbage
> Aborted (core dumped)
As you suspect, this is a known bug. I think the patch is here.
http://lists.gnu.org/archive/html/bug-gnu-utils/2005-08/msg00047.html
And there is a larger roll-up patch that fixes this and other bugs
here:
http://lists.gnu.org/archive/html/bug-gnu-utils/2006-07/msg00002.html
Regards,
Andy