bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] Re: `fatal' module problem?


From: Simon Josefsson
Subject: [Bug-gnulib] Re: `fatal' module problem?
Date: Tue, 03 Aug 2004 19:27:50 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Bruno Haible <address@hidden> 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




reply via email to

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