Re: libc/regex: more regular error handling

2020-12-31 Thread Todd C . Miller
On Thu, 31 Dec 2020 07:29:51 +, Miod Vallat wrote: > The REQUIRE macro is used to check for a condition, and set an error in > the parse struct if it is not satisfied. > > This changes it from ((condition) || function call) to a, IMHO more > readable, if() test. OK millert@ - todd

libc/regex: more regular error handling

2020-12-30 Thread Miod Vallat
The REQUIRE macro is used to check for a condition, and set an error in the parse struct if it is not satisfied. This changes it from ((condition) || function call) to a, IMHO more readable, if() test. Index: regcomp.c === RCS file: