Path: news.daimi.aau.dk!not-for-mail From: Manmathan Muthukumarapillai Newsgroups: comp.lang.beta Subject: Re: unixdirectory Date: Wed, 9 Sep 1998 23:18:13 +0200 (MET DST) Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 57 Approved: mailtonews@daimi.aau.dk Distribution: world Message-ID: <199809092118.XAA01729@noatun.mjolner.dk> Reply-To: Manmathan Muthukumarapillai NNTP-Posting-Host: daimi.daimi.aau.dk X-Trace: xinwen.daimi.aau.dk 905375897 1714 255.255.255.255 (9 Sep 1998 21:18:17 GMT) X-Complaints-To: news@daimi.aau.dk NNTP-Posting-Date: 9 Sep 1998 21:18:17 GMT Xref: news.daimi.aau.dk comp.lang.beta:11686 Which example from the mjolner system didn't work and which release of the Mjolner System are you using? (We couldn't reproduce the error under RedHat 5.1). If it is possible, please send a test-program illustrating the bug. Sincerely, Manmathan Muthukumarapillai / Mjolner Informatics (mannan@mjolner.dk) On Wed, Sep 09, 1998 at 11:29:51AM +0200, Jens Scharnow wrote: > 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 >