🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1560

Bug? in gawk-2.10

#1560
From: 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.
-- 
Technical Details
Message-ID: <NTANAKA.89Apr13114917@ARAGORN.GANDALF.CS.CMU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!pt.cs.cmu.edu!ntanaka

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!pt.cs.cmu.edu!ntanaka
From: ntanaka@ARAGORN.GANDALF.CS.CMU.EDU (Nobuyoshi Tanaka)
Newsgroups: gnu.utils.bug
Subject: Bug? in gawk-2.10
Message-ID: <NTANAKA.89Apr13114917@ARAGORN.GANDALF.CS.CMU.EDU>
Date: 13 Apr 89 15:49:17 GMT
Distribution: gnu
Organization: Carnegie Mellon University, School of Computer Science
Lines: 14