Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!bbn!diamond.bbn.com!mlandau From: mlandau@bbn.com (Matt Landau) Newsgroups: comp.windows.x Subject: Re: Faster version of lndir Message-ID: <13338@garnet.BBN.COM> Date: 8 Jan 90 03:54:07 GMT References: <13335@garnet.BBN.COM> Distribution: comp Organization: BBN Systems and Technologies Corporation, Cambridge, MA Lines: 3 Yes, Virginia, you DO need to add a "closedir(dir)" at the end of the link_dir routine, outside the while loop, lest you run out of file descriptors when building a copy of then entire X11 tree...