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-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to