3 Aug 2004 19:27
Re: `fatal' module problem?
Simon Josefsson <jas <at> extundo.com>
2004-08-03 17:27:50 GMT
2004-08-03 17:27:50 GMT
Bruno Haible <bruno <at> clisp.org> writes: > Simon Josefsson wrote: >> But error doesn't take a va_list, from error.h: > > Agreed. We don't have a va_error(), and since the purpose of the error() > module is to provide for a substitute for functions already in glibc, > we cannot add it either. > > Can you either > - use a simplified version of error_tail in fatal.c, or > - drop the 'fatal' module entirely (none of coreutils, tar, diff, gettext > uses it)? I realized `error (EXIT_FAILURE, ...)' did what I want, so I went for your second option. (I kind of preferred `fatal (...)' as it is more readable, though.) Unless fatal.* is fixed, perhaps removing the 'modules/fatal' file is a good idea, so others don't fall in the same trap as I did. Thanks, Simon
RSS Feed