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

Re: The MIT error

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 25, 2005, 16:50 UTC
Message-ID
<435E623B.20303@zytor.com>
In-Reply-To
<435E3892.4020002@op5.se>
Andreas Ericsson wrote:
Show 7 quoted lines
> 
> No they don't. "begin with either is or to and a lowercase letter", 
> meaning (is|to)[a-z].*, just as Morten wrote. is_.* doesn't fall into 
> this category. The underscore exemption is so that users can write their 
> own is_file(), is_whatever() str_replace() and such. Some thought has 
> gone into the standard.
> 

Also, note that we don't include <ctype.h>, and the reasons to stay out of its namespace are:

a. potential for confusion (different semantics), and b. broken system headers.

	-hpa
Previous: Andreas Ericsson
Message 3 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.