Re: Fwd: Re: error.c: "Unknown system error" should report errno value

2007-09-26 Thread Martin Koeppe
Hi Eric, On Tue, 25 Sep 2007, Eric Blake wrote: Martin, [offlist] I don't know if you saw this when the discussion migrated to gnulib, but I didn't, thank you. rather than patching error.c, I went with the option of fixing Interix's non-POSIX strerror instead (C99 and POSIX require strerr

licence text as string?

2007-09-26 Thread John Darrington
Would it be possible to add a feature to the gpl-[23].0 modules which provides the text of the GPL as a const char * ? This would be useful for user interfaces which need to display the licence text, such as http://www.gtk.org/api/2.6/gtk/GtkAboutDialog.html#gtk-about-dialog-set-license It might

Re: error.c: "Unknown system error" should report errno value

2007-09-26 Thread Bruno Haible
Eric Blake wrote: > +# define strerror(e) \ > +(GL_LINK_WARNING ("strerror is unportable - " \ "unportable" sounds like the function does not exist on some platforms. I would write it like this: # define strerror(e) \ (GL_LINK_WARNING ("strerror is not POSIX compliant everywhere - " \ B

Re: error.c: "Unknown system error" should report errno value

2007-09-26 Thread Bruno Haible
Paul Eggert wrote: > I don't know of any plausible gnulib porting targets that lack strerror. Confirmed: The various-symlists [1] package does not know of any platform that lacks strerror. Bruno [1] http://www.haible.de/bruno/gnu/various-symlists.tar.gz