🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #16

Bug in pg - doesn't close directories

#16
From: David E. A. Wilson
Date: Mon, 10 Jul 1989 06:16
21 lines
1110 bytes
Description:
	When pg encounters a directory in its argument list it prints
out a message to that effect and moves on to the next argument.
Unfortunately it does not close the directory and eventually runs
out of file descriptors.

Repeat-by:
	Give pg more directories than the system allows open fd's.
(64 should be enough on any system). The first N will have the message:

	pg: filename is a directory

while the remainder will have:

	filename: Too many open files

Systems affected:
	Probably all using AT&T source. I have found the bug in
A/UX 1.1b (Mac II), Dynix 2.0v2 (Sequent Symmetry),
SunOS 4.0.3b (Sparcstation 1) and OSx4.4c (Pyramid 90xe).
Technical Details
Message-ID: <5941@wolfen.cc.uow.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!munnari.oz.au!otc!metro!basser!wolfen!david

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!munnari.oz.au!otc!metro!basser!wolfen!david
From: david@wolfen.cc.uow.oz (David E. A. Wilson)
Newsgroups: comp.bugs.sys5
Subject: Bug in pg - doesn't close directories
Keywords: pg open files directory
Message-ID: <5941@wolfen.cc.uow.oz>
Date: 10 Jul 89 06:16:24 GMT
Organization: Uni of Wollongong, NSW, Australia
Lines: 21