|
From: | Gregory John Casamento |
Subject: | [bug #24779] GNUstep file and directory path methods seem to return strings in Windows format |
Date: | Sat, 08 Nov 2008 16:32:26 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080323b-0etch2) Epiphany/2.14 |
URL: <http://savannah.gnu.org/bugs/?24779> Summary: GNUstep file and directory path methods seem to return strings in Windows format Project: GNUstep Submitted by: gcasa Submitted on: Sat 08 Nov 2008 11:32:24 AM EST Category: Gui/AppKit Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: This was reported to me by a third party: GNUstep file and directory path methods (such as [NSFileManager currentDirectoryPath] ) seem to return strings in Windows format (using \ instead of /). While the Cocoa docs I’ve read aren’t totally obvious about this, the path methods in NSString suggest that Cocoa expects all file paths to be in Unix format internally (see the description of [NSString getFileSystemRepresentation:maxLength:] for example). So GNUstep’s behavior might be seen as a “bug”. -- GC _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?24779> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |