🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Nobuyoshi Tanaka Thu, 13 Apr 1989 15:49
Bug? in gawk-2.10
#1560
Author: Nobuyoshi Tanaka
Date: Thu, 13 Apr 1989 15:49
14 lines
883 bytes
I got gawk-2.10 yesterday and ran my awk script that had been made for
berkeley awk.  I found gawk-2.10 had a problem.

The awk script has the following statements;

    "basename " file | getline msg
    close("basename " file)

The above statements will be executed a lot of times.  After closing
a pipe, gawk left a defunct process.  Therefore, in a while, the
execution could not continue because of no more process.

Does anyone have any solution?  Thanks.
-- 
Re: Bug? in gawk-2.10
#1562
Author: david
Date: Thu, 13 Apr 1989 18:30
13 lines
849 bytes
In your message of 13 Apr 89 15:49:17 GMT you write:

> I got gawk-2.10 yesterday and ran my awk script that had been made for
> berkeley awk.  I found gawk-2.10 had a problem.
> 
> The awk script has the following statements;
> 
>     "basename " file | getline msg
>     close("basename " file)

The code associated with that construct is a bit dirty at present.
I'll try to get a fix into a bug-fix release before too long.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads