bugGNUstep - Bugs: bug #39739, -[NSError description] for...


You are not allowed to post comments on this tracker with your current authentication level.

bug #39739: -[NSError description] for NSPOSIXErrorDomain should use strerror

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Fri 09 Aug 2013 08:06:37 PM UTC  
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 08 May 2014 09:55:28 AM UTC, comment #2:

Couldn't reproduce this and the reporter provided no details after several months … so closing.

Richard Frith-Macdonald <CaS>
Project Member
Fri 20 Dec 2013 10:30:55 AM UTC, comment #1:

The code for generating posix domain errors already uses strerror to generate the localised description … so the cause of any issue here is non-obvious.
Could you please provide a testcase to reproduce the problem.

Richard Frith-Macdonald <CaS>
Project Member
Fri 09 Aug 2013 08:06:37 PM UTC, original submission:

-[NSError description] for NSPOSIXErrorDomain errors currently returns something like:

NSPOSIXErrorDomain 97

It really ought use strerror, and return (in this example)

Address family not supported by protocol

Larry Campbell <lcampbel>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by lcampbel (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 May 2014 09:55:28 AM UTCCaSOpen/ClosedOpen=>Closed
    Thu 08 May 2014 09:55:27 AM UTCCaSStatusNeed Info=>Invalid
    Fri 20 Dec 2013 10:30:55 AM UTCCaSStatusNone=>Need Info
    Sat 07 Dec 2013 08:59:14 PM UTCFredKieferCategoryNone=>Base/Foundation
      Item GroupNone=>Bug

    Back to the top

    Powered by Savane 3.1-cleanup1