bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] typo in error module


From: Bruno Haible
Subject: Re: [bug-gnulib] typo in error module
Date: Tue, 1 Aug 2006 21:35:30 +0200
User-agent: KMail/1.9.1

Eric Blake wrote:
> OK to check in?  Note that it does affect the 
> semantics of anyone using the error_print_progname callback - previously, 
> error 
> would not supply a space and now it does.  But that is the only way I could 
> make error_at_line consistent with GNU Coding Standards.

I object. We don't want to have a semantic difference between glibc 'error'
and gnulib 'error'.

If you want to have a semantic change of the error or error_at_line
function, please make glibc do the change _first_, and then let gnulib
follow.

If glibc does not want to change the semantics of 'error', then the solution
is to create a new module, separate from 'error'. I repeat: gnulib's
'error' module is only there to allow using glibc's <error.h> on other
platforms.

Bruno


PS: To give you some code for comparison, here are gettext's error
    signalling modules:
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/lib/error-progname.h?rev=1.4&root=gettext&view=auto
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/lib/error-progname.c?rev=1.2&root=gettext&view=auto
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/lib/xerror.h?rev=1.4&root=gettext&view=auto
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/lib/xerror.c?rev=1.4&root=gettext&view=auto
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/src/po-xerror.h?rev=1.1&root=gettext&view=auto
http://cvs.savannah.gnu.org/viewcvs/gettext/gettext-tools/src/po-xerror.c?rev=1.2&root=gettext&view=auto




reply via email to

[Prev in Thread] Current Thread [Next in Thread]