[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file annotations
From: |
Charles Philip Chan |
Subject: |
Re: file annotations |
Date: |
Tue, 01 Mar 2005 08:26:24 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2005-02-28 12:57:44 -0500 Enrico Sersale <enrico@dtedu.net> wrote:
The file names should not be a problem because I'm using a lsfolder
to check
new files in the incoming directory of our ftp server; in this
directory
people puts *only* files with strange windows names :-)
Thanks for the info.
Regarding the "too many open files" error: I've tried here on my
linux and on
my iMac but I can't reproduce this. Are you sure that you have not an
other
bug on your system?
This is really strange, because the only search tool the I have
problems with is the finder. Also, even though the program reports
"too may open files", yet if I look at /proc/sys/fs/file-nr- the
number of open files is no way near the max value defined.
Try to compile and run this:
int main(int argc, char** argv)
{
CREATE_AUTORELEASE_POOL (pool);
NSString *path = @"/";
NSArray *contents = [[NSFileManager defaultManager] subpathsAtPath:
path];
NSLog(@"%i", [contents count]);
RELEASE (pool);
exit(0);
}
I am not familiar with gnustep-make at all. I am not sure which
headers I should include and which libraries to link to to get it
compiled.
Thanks,
Charles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using the GPG bundle for GNUMail
iD8DBQFCJG2A3epPyyKbwPYRAmUzAJ9GwcC4YFxZjOsMHOpqGH3tF5C5AwCg05FP
AkpaKdGrGB1bYjJq4nvt6K4=
=Vix9
-----END PGP SIGNATURE-----
- Re: file annotations,
Charles Philip Chan <=