grep-devel
[Top][All Lists]
Advanced

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

Re: [Grep-devel] grep: die more systematically (grep-devel suitable?)


From: Jim Meyering
Subject: Re: [Grep-devel] grep: die more systematically (grep-devel suitable?)
Date: Wed, 5 Oct 2016 09:34:37 -0700

On Tue, Oct 4, 2016 at 12:19 PM, Paul Eggert <address@hidden> wrote:
> On 10/04/2016 10:23 AM, Jim Meyering wrote:
>>
>> Are you planning to move that to gnulib?
>
>
> Hadn't planned on it, though could do that after grep stews for a bit.
>
> The name 'die' is likely to collide with usage elsewhere, as are other
> obvious candidates like 'fatal_error'. Perhaps we should give it a name more
> likely to be unique? 'dierror', say?
>
> On the other hand, I suppose Perl fans will quickly grok 'die'....

I like "die." If some code is using that name for something else, they
can refrain from using the new nit-picky-convenience module -- or
adjust :-)

In making coreutils build with GCC 7, I am finding similar uses for
this new function, so for now will copy die.h into coreutils.



reply via email to

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