Path: news.daimi.aau.dk!news-feed.inet.tele.dk!Cabal.CESspool!bofh.vszbr.cz!news-fra1.dfn.de!Uni-Dortmund.DE!news From: Jens Scharnow Newsgroups: comp.lang.beta Subject: unixdirectory Date: Wed, 09 Sep 1998 11:29:51 +0200 Organization: University of Dortmund, Germany Lines: 41 Message-ID: <35F64A8F.2C0832F1@nef.wh.uni-dortmund.de> NNTP-Posting-Host: emil.nef.wh.uni-dortmund.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (X11; I; Linux 2.0.35 i586) X-Accept-Language: en Cache-Post-Path: emil.nef.wh.uni-dortmund.de!jensen@valhalla.nef.wh.uni-dortmund.de X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Xref: news.daimi.aau.dk comp.lang.beta:11683 Hi! I tried out the unixdirectory library to check for files with special names in one directory. I wrote something like this: d.scanentries (# do select (# whenfile::< (# do do_something; #); whendir::< (# do do_something_different; #); #); #); As I tried this out i saw that the do_something-Part was never reached, although there are a lot of files in the specific directory. On the other hand, the do_something-diferent-Part was reached for every entry in the directory. I then tested the example from the beta-Distribution, which showed a similar behaviour. For every entry in the directory it posted that it woul be a directory, but it never told the name of it as it should normally. Is this a bug in the mjolner distribution? Or is it possible that this only happens on some machines? I use debian 2.0 linux with glibc2. Thanks so far, Jens -- -=>Just GNU it<=- Jens Scharnow, Dortmund jensen@nef.wh.uni-dortmund.de http://www.nef.wh.uni-dortmund.de/~jensen