Thread (1 message) 1 message, 1 author, 2023-06-01

Re: [PATCH v2 3/7] sane-ctype.h: move sane-ctype macros from git-compat-util.h

From: Junio C Hamano <hidden>
Date: 2023-06-01 04:13:04

Jonathan Tan [off-list ref] writes:
Any specific reason for the "sane-" prefix? I think it would make more
sense if it was just named ctype.h: see below.
I think it is a good idea to keep the sane prefix for two reasons
that were described in 4546738b (Unlocalized isspace and friends,
2005-10-13):

    Do our own ctype.h, just to get the sane semantics: we want
    locale-independence, _and_ we want the right signed behaviour. Plus we
    only use a very small subset of ctype.h anyway (isspace, isalpha,
    isdigit and isalnum).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help