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