bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH v2 05/10] Make gnulib's regcomp not abort()


From: Paul Eggert
Subject: Re: [PATCH v2 05/10] Make gnulib's regcomp not abort()
Date: Wed, 1 Dec 2021 19:18:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

It's not clear why this change is needed. POSIX says that for regerror "the application shall ensure is the last non-zero value returned by regcomp() or regexec() with the given value of preg". If an application violates a "shall" requirement, behavior is undefined so it's OK for regerror to abort in that case.



reply via email to

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