unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5815: clean up extern int errno usage
@ 2010-03-31 20:09 Dan Nicolaescu
  2010-04-08  6:59 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2010-03-31 20:09 UTC (permalink / raw)
  To: 5815

Some files still use "extern int errno" declarations.

Those should not be needed. For example dired.c unconditionally
include <errno.h>, and it has done so for a very long time.

"extern int errno" will cause problems with multithreaded code. 

So I'd like to remove all instances of errno declaration, and just
include errno.h (if not already included).

Any objection?







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5815: clean up extern int errno usage
  2010-03-31 20:09 bug#5815: clean up extern int errno usage Dan Nicolaescu
@ 2010-04-08  6:59 ` Glenn Morris
  2010-04-08 15:32   ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-04-08  6:59 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 5815


It seems you installed this (except getloadavg.c?); if so please close
this.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5815: clean up extern int errno usage
  2010-04-08  6:59 ` Glenn Morris
@ 2010-04-08 15:32   ` Dan Nicolaescu
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2010-04-08 15:32 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 5815-done

Glenn Morris <rgm@gnu.org> writes:

> It seems you installed this (except getloadavg.c?); if so please close
> this.

Thanks, done.
(getloadavg.c is copied from gnulib, so I think it should not be changed in emacs)






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-08 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 20:09 bug#5815: clean up extern int errno usage Dan Nicolaescu
2010-04-08  6:59 ` Glenn Morris
2010-04-08 15:32   ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).