Path: 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 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