bugThe nmh Mail Handling System - Bugs: bug #4304, errno is not always an extern int

 
 

bug #4304: errno is not always an extern int

Submitted by:  Craig Leres <leres>
Submitted on:  Mon 14 Jul 2003 12:17:37 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Duplicate
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 30 Sep 2003 05:01:40 PM UTC, comment #2:

duplicate for #4302

Glenn Burkhardt <gbburkhardt>
Project Member
Mon 14 Jul 2003 12:19:35 AM UTC, comment #1:

It's not entirely clear to me why doing a "refresh" on this page:

https://savannah.nongnu.org/bugs/index.php

should cause my bug report to be resubmitted.

Craig Leres <leres>
Mon 14 Jul 2003 12:17:37 AM UTC, original submission:

Nothing says errno has to be an extern int. For example, under FreeBSD 4.8-RELEASE, errno.h declares:

__BEGIN_DECLS
int * __error __P((void));
__END_DECLS
#define errno (* __error())
#endif

The fix is to remove all occurances fo "extern int errno;" from the code. Current operating systems will define errno in <errno.h> and older systems will default to "int errno".

Craig Leres <leres>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 30 Sep 2003 05:01:40 PM UTCgbburkhardtStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1