-------- Original Message -------- Subject: [bugs #7534] [NSString stringByStandardizingPath] won't expand .. (parent directory). Date: Sat, 31 Jan 2004 17:05:43 -0500 From: Kazunobu Kuriyama <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
This mail is an automated notification from the bugs tracker of the project: GNUstep. /**************************************************************************/ [bugs #7534] Full Item Snapshot: URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7534> Project: GNUstep Submitted by: Kazunobu Kuriyama On: Sat 01/31/04 at 22:05 Category: Base/Foundation Severity: 3 - Ordinary Item Group: Change Request Resolution: None Assigned to: None Status: Open Summary: [NSString stringByStandardizingPath] won't expand .. (parent directory). Original Submission: The OpenStep specification is not clear whether the expansion must be done or not, while the Cocoa one clearly states <quote> In absolute paths only, resolve references to the parent directory (that is, the component "..") to the real parent directory if possible using stringByResolvingSymlinksInPath which consults the file system to resolve each potential symbolic link. <enquote> Perhaps, an interpretation of "in absolute paths only" varies when a given path contains ~ (user's home directory). The method of the Mac's version supposedly expands ~usr/ObjC/../GNUstep to /home/usr/GNUstep if it works on a UNIX-like system, assuming all the paths exist. On the other hand, with GNUstep, the path is expanded to /home/usr/ObjC/../GNUstep For detailed info, follow this link: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7534> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
