🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2054

Re: PAX : Too many open files

#2054
From: Wietse Z. Venema
Date: Tue, 14 Feb 1989 08:53
16 lines
1074 bytes
gnu@hoptoad.uucp (John Gilmore) added:
>wietse@wzv.UUCP (Wietse Z. Venema) wrote:
>>
>> < 		close(dirp);
>> ---
>> > 		closedir(dirp);
>>
>Note that the problem would've been found a long time ago had this program
>been checking the results of its system calls...  

This particular type of problems (wrong function/argument) can be found
even earlier by checking the result of lint(1).  Strongly recommended.
-- 
work:	wswietse@eutrc3.uucp	| Eindhoven University of Technology
work:	wswietse@heitue5.bitnet	| Mathematics and Computing Science
home:	wietse@wzv.uucp		| 5600 MB Eindhoven, The Netherlands
Technical Details
Message-ID: <203@wzv.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!eutrc3!wzv!wietse
References: <86247@sun.uucp> <1133@naucse.UUCP> <86924@sun.uucp> <200@wzv.UUCP> <6510@hoptoad.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!eutrc3!wzv!wietse
From: wietse@wzv.UUCP (Wietse Z. Venema)
Newsgroups: comp.sources.bugs
Subject: Re: PAX : Too many open files
Message-ID: <203@wzv.UUCP>
Date: 14 Feb 89 08:53:29 GMT
References: <86247@sun.uucp> <1133@naucse.UUCP> <86924@sun.uucp> <200@wzv.UUCP> <6510@hoptoad.uucp>
Reply-To: wietse@wzv.UUCP (Wietse Z. Venema)
Organization: Eindhoven University of Technology, The Netherlands
Lines: 16