bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: [bugs #7534] [NSString stringByStandardizingPath] won't expand ..


From: Kazunobu Kuriyama
Subject: [Fwd: [bugs #7534] [NSString stringByStandardizingPath] won't expand .. (parent directory).]
Date: Sun, 01 Feb 2004 07:07:58 +0900
User-agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1


-------- Original Message --------
Subject:        [bugs #7534] [NSString stringByStandardizingPath] won't expand
.. (parent directory).
Date:   Sat, 31 Jan 2004 17:05:43 -0500
From:   Kazunobu Kuriyama <address@hidden>
To:     address@hidden



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/










reply via email to

[Prev in Thread] Current Thread [Next in Thread]