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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

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
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by FredKiefer (Updated the item)
  • -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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup