Re: Problems with reading many files

1999-07-02 Thread Marcin 'Qrczak' Kowalczyk
30 Jun 1999 16:53:53 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > When compiled by ghc-4.02 under Linux (kernel 2.2.10, glibc 2.1), > it gets SIGSEGV. The directory /var/spool/news/articles/pl/rec/hihot > contains over 3000 files. The program opens 576 of them and dies. I accident

RE: Problems with reading many files

1999-07-02 Thread Sigbjorn Finne (Intl Vendor)
[EMAIL PROTECTED] writes: > > Here is a program: > > import System > import Monad > import Char > import Directory > > main = do > let katalog = "/var/spool/news/articles/pl/rec/hihot" > nazwy <- getDirectoryContents katalog > let posty = map (\s -> katalog++'/':s) $ filter (all