[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #7534] [NSString stringByStandardizingPath] won't expand .. (paren
From: |
Adam Fedor |
Subject: |
[bugs #7534] [NSString stringByStandardizingPath] won't expand .. (parent directory). |
Date: |
Thu, 02 Dec 2004 23:33:20 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.11 |
This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**************************************************************************/
[bugs #7534] Latest Modifications:
Changes by:
Adam Fedor <fedor@gnu.org>
'Date:
Fri 12/03/2004 at 04:26 (US/Mountain)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Unreproducible
Assigned to | None | fedor
Status | Open | Analyzed
------------------ Additional Follow-up Comments ----------------------------
I tried this with a few examples and it seems to work according to the Cocoa
docs.
/**************************************************************************/
[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/2004 at 22:05
Category: Base/Foundation
Severity: 3 - Ordinary
Item Group: Change Request
Resolution: Unreproducible
Privacy: Public
Assigned to: fedor
Status: Analyzed
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
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 12/03/2004 at 04:26 By: Adam Fedor <fedor>
I tried this with a few examples and it seems to work according to the Cocoa
docs.
CC List
-------
CC Address | Comment
------------------------------------+-----------------------------
kazu |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bugs #7534] [NSString stringByStandardizingPath] won't expand .. (parent directory).,
Adam Fedor <=