Re: NSDirectoryEnumerator and URLs (PS) [resolved]

2010-01-13 Thread Jamie Hardt
Yeah that works, I had an assertion failing in there somewhere… Now I have to go pester the sqlite-users list. Yick. Jamie On Jan 13, 2010, at 1:38 PM, Robert Martin wrote: > Assuming that the original path is valid, this looks ok to me - maybe you > might try commenting out the lines: > >>

Re: NSDirectoryEnumerator and URLs

2010-01-13 Thread Quincey Morris
On Jan 13, 2010, at 10:32, Jamie Hardt wrote: > I'm using a directory enumerator to recurse through a series of directories, > and it always fails after going through a certain number of enumerations. If > I enumerate through the same directory over and over, it tends to fail in > about the sa

Re: NSDirectoryEnumerator and URLs (PS)

2010-01-13 Thread Jamie Hardt
On Jan 13, 2010, at 11:38 AM, Robert Martin wrote: > PS - Also, when I use NSDirectoryEnumerator, it returns a string, not an > URL... The documentation actually doesn't say... I assumed that a directory enumerator that is created with a URL would return URLs, but I guess not... In any case,

Re: NSDirectoryEnumerator and URLs

2010-01-13 Thread Robert Martin
Isn't the path returned by NSDirectoryEnumerator a relative path to the path you initialize it with? The docs say: "An NSDirectoryEnumerator object enumerates the contents of a directory, returning the pathnames of all files and directories contained within that directory. These pathnames are r

NSDirectoryEnumerator and URLs

2010-01-13 Thread Jamie Hardt
Hello all, I'm using a directory enumerator to recurse through a series of directories, and it always fails after going through a certain number of enumerations. If I enumerate through the same directory over and over, it tends to fail in about the same place, but if I enumerate through other