documentForFileName: on case-insensitive filesystem
documentForFileName: on case-insensitive filesystem
- Subject: documentForFileName: on case-insensitive filesystem
- From: Alex Rice <email@hidden>
- Date: Sun, 25 May 2003 20:42:03 -0600
NSDocumentController's -documentForFileName: apparently does a case
sensitive match for the filename. This results in a bug in my program.
Shouldn't the appropriate behavior of -documentForFileName: to detect
the filesystem type and do a case-sensitive or case-insensitive match
on the filename?
How can one check if the volume a file is on is case-sensitive or not.
I took a quick look through NSFileManager, but I didn't see anything.
Would checking for NSFileHFSCreatorCode from NSFileManager work? I
don't know if HFS files are guaranteed to have a creator code.
Alex Rice <email@hidden> | Mindlube Software |
http://mindlube.com
what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
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.