🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #45

Re: Bug in pg - doesn't close directories

#45
From: Derek E. Terveer
Date: Sun, 23 Jul 1989 05:23
29 lines
1382 bytes
In article <5941@wolfen.cc.uow.oz>, david@wolfen.cc.uow.oz (David E. A. Wilson) writes:
> 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

I'm running microport System V/386 3.0e (sys V R3.0) and i get an invalid
argument instead:

$ mkdir /tmp/$$; cd /tmp/$$
$ for i in $(iota 1 64); do mkdir $i; done
$ pg *
pg: 1 is a directory
pg: 10 is a directory
	etc..
pg: 24 is a directory
pg: 25 is a directory
26: Invalid argument
27: Invalid argument
28: Invalid argument

	etc...
-- 
Derek Terveer 	    det@hawkmoon.MN.ORG || ..!uunet!rosevax!elric!hawkmoon!det
		    w(612)681-6986   h(612)789-8643

"A proper king is crowned" -- Thomas B. Costain
Technical Details
Message-ID: <1073@hawkmoon.MN.ORG>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!tank!shamash!com50!mscunx!hawkmoon!det
References: <5941@wolfen.cc.uow.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!tank!shamash!com50!mscunx!hawkmoon!det
From: det@hawkmoon.MN.ORG (Derek E. Terveer)
Newsgroups: comp.bugs.sys5
Subject: Re: Bug in pg - doesn't close directories
Summary: not on uPort SysV/386 3.0e
  invalid argument
Keywords: pg open files directory
Message-ID: <1073@hawkmoon.MN.ORG>
Date: 23 Jul 89 05:23:55 GMT
References: <5941@wolfen.cc.uow.oz>
Organization: One of the Eternal Champions - Richfield, MN, 554232523, USA
Lines: 29