git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: The MIT error

From
Horst von Brand <vonbrand@inf.utfsm.cl>
Date
Oct 25, 2005, 13:40 UTC
Message-ID
<200510251340.j9PDeGGt006248@laptop11.inf.utfsm.cl>
In-Reply-To
<mwelinder@gmail.com>
Morten Welinder <mwelinder@gmail.com> wrote:
> After the isspace/BSD conflict I looked into what reserved symbols are
> being used by git.  Quite a few, it turns out.
[...]
Show 8 quoted lines
> Just as isspace is reserved by the C implementation...
> 
>        7.26.2  Character handling <ctype.h>
> 
>        [#1]  Function  names that begin with either is or to, and a
>        lowercase letter (possibly followed by  any  combination  of
>        digits,  letters,  and  underscore)  may  be  added  to  the
>        declarations in the <ctype.h> header.

There go is_space(), etc as suggested by the relevant patches... in any case, if you /don't/ #include <ctype.h>, you are safe (standardwise), aren't you? [Yes, idiots who #include that in system headers are way broken, but...]

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
Next: Andreas Ericsson
Message 1 of 3 in “Re: The MIT error”
  1. Horst von BrandOct 25, 2005
  2. Andreas EricssonOct 25, 2005
  3. H. Peter AnvinOct 25, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.