[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDirectoryEnumerator

From: Enrico Sersale
Subject: Re: NSDirectoryEnumerator
Date: Fri, 01 Oct 2004 22:03:35 +0300

On 2004-10-01 21:57:30 +0300 Alexander Malmberg <address@hidden> wrote:

Yen-Ju Chen wrote:
    I did a quick test on FreeBSD 4.10 with GNUstep CVS Aug 30.
    The result is almost the same.
    The difference (less than 10) is due to the /proc or /tmp.
    I did not write to a file using NSHandle.
    Instead, I use NSLog or printf() to output the path and redirect
them to a file.

I got the same results here with current cvs. The handle writing didn't work, but I printf:d each path and diff:ed this against find, and the only differences were in /proc .

- Alexander Malmberg

Probably the handle writing doesn't work because NSFileManager doesn't create 
automatically the output file. You must "touch" it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]