[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Bug in gawk 4.0.0
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Bug in gawk 4.0.0 |
Date: |
Tue, 07 Feb 2012 22:28:13 +0200 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi. Re this.
> Date: Fri, 03 Feb 2012 00:07:22 +0100
> To: address@hidden
> From: Michael Haardt <address@hidden>
>
> Hello,
>
> in main.c, output_fp is set after parsing a program. In case parsing
> aborts with an error, msg.c does a fflush(output_fp) with it being
> NULL, which causes a core dump on SunOS 4. Checking output_fp for
> not being NULL in msg.c solved the problem for me.
>
> Michael
Thanks. I moved the initialization in main() to earlier.
Arnold