Thread (1 message) 1 message, 1 author, 2022-09-13

Re: [PATCH v4] grep: fix multibyte regex handling under macOS

From: Junio C Hamano <hidden>
Date: 2022-09-13 20:41:19

Diomidis Spinellis [off-list ref] writes:
quoted
Perhaps cook this in 'next' and see if anybody screams?
Let's do this.
I was programming in C before locale.h was introduced, so its
availability was something that worried me as well.  I looked up
whether we could/should use a GNU autoconf macro to test for the
locale.h availability.  According to autoconf's documentation "All
hosted environments that are still of interest for portable code
provide all of the headers specified in ISO C90 (as amended in 1995):
assert.h, [...] locale.h [...], and wctype.h. Most programs can safely
include these headers unconditionally." [1]
Yeah, but there are folks on minor platforms where full POSIX
compliance is iffy, so whatever autoconf's documentation says
unfortunately does not weigh as much as we wish it does.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help