buglwIP - A Lightweight TCP/IP stack - Bugs: bug #48823, posix errors should be removed...

 
 

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

bug #48823: posix errors should be removed from arch.h

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Fri 19 Aug 2016 10:37:37 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 06 Oct 2016 11:24:49 AM UTC, comment #2:

Right. The PPP code in question seems to be disabled. Kind of hard to see that when greping through the sources though...

Fixed by moving the definitions from def.h to err.h and moving err_to_errno() to err.h/.c

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sat 27 Aug 2016 10:59:11 AM UTC, comment #1:

PPP doesn't use errno, if this is still the case then it must be fixed :)

Sylvain Rochet <gradator>
Project Member
Fri 19 Aug 2016 10:37:37 AM UTC, original submission:

The posix error constants + 'errno' definition should be moved to its own file, they are only used for sockets or PPP.

Also, err_to_errno_table[], err_to_errno() and set_errno() could be moved from sockets.c to a more central place.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

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 gradator (Posted a comment)
  • -unavailable- added by goldsimon (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
    Thu 06 Oct 2016 11:24:49 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1