• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager trouble?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager trouble?


  • Subject: Re: NSFileManager trouble?
  • From: Lance Bland <email@hidden>
  • Date: Thu, 4 Apr 2002 11:50:30 -0500

oops-

I forgot to mention that the file entries data096e.033, etc. were never created by a user (as far as I know) and "ls -la" does not list such file names, whereas they do show up in the PB and TextEdit Open Panel so I think the problem is at the Application level.

-lance

On Thursday, April 4, 2002, at 10:14 AM, Lance Bland wrote:

hi-

Sometimes Project Builder, TextEdit, etc. 's Open Panel has entries like: data096e.033

Logging off then on, rebooting, fsck, helps sometimes, sometimes not. It comes and goes as we move files around, which happens at a great rate.

So, I did a cat . on a suspect directory and find that there is a string "data096e.033" after the file entry delimiter in the . (dot) file.

It looks like NSFileManager directory enumerator (or whatever code Apple is using) isn't parsing the directory entry file correctly.

However, readdir() does seem to work and all the unix command line tools work right. (the finder appears to work right, but I'm not so sure about that).

This issue is on a UFS file system. Don't know about HFS+.

-lance

_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSFileManager trouble? (From: Lance Bland <email@hidden>)

  • Prev by Date: Drag folder from Finder
  • Next by Date: Re: setting the datacell of table to combobox
  • Previous by thread: NSFileManager trouble?
  • Next by thread: setting the datacell of table to combobox
  • Index(es):
    • Date
    • Thread