[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should retur
From: |
Doug Simons |
Subject: |
[bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber |
Date: |
Sun, 19 Apr 2009 20:39:04 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 |
URL:
<http://savannah.gnu.org/bugs/?26244>
Summary: fileOwnerAccountID and fileGroupOwnerAccountID
should return an NSNumber
Project: GNUstep
Submitted by: theeggcamefirst
Submitted on: Sun 19 Apr 2009 08:39:02 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In NSFileManager, to be compatible with Cocoa the dictionary convenience
methods fileOwnerAccountID and fileGroupOwnerAccountID should return an
NSNumber, not an unsigned long. Needless to say, this little difference causes
my Cocoa app to get a Segmentation Fault when it tries to get the intValue of
the "NSNumber". :-)
While you're at it, you might also want to change fileHFSCreatorCode and
fileHFSTypeCode to return unsigned int rather than int, although this won't
cause anyone to crash.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26244>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber,
Doug Simons <=
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/19
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/20
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/20
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/20
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/20
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Fred Morcos, 2009/04/20
- [bug #26244] fileOwnerAccountID and fileGroupOwnerAccountID should return an NSNumber, Richard Frith-Macdonald, 2009/04/24