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

Re: [PATCH] Constify

From
Petr Baudis <pasky@ucw.cz>
Date
May 17, 2005, 21:27 UTC
Message-ID
<20050517212742.GM7136@pasky.ji.cz>
In-Reply-To
<118833cc050422110872a6f4a5@mail.gmail.com>

Dear diary, on Fri, Apr 22, 2005 at 08:08:02PM CEST, I got a letter where Morten Welinder <mwelinder@gmail.com> told me that...

> Hi!
Hello,
> This patch makes strings type "const char *" and keeps people honest.
> [Here's to hoping that nothing in this email setup mangles whitespace...]
> 
> Signed-off-by: Morten Welinder (mwelinder@gmail.com)

thanks. It was somewhat mangled, but the main problem was that it has rot for too long in my queue, so only quite small part of it survived until today. :-( I've not applied the CFLAGS+=-Wwrite-strings part yet, since it would require some additional cleanups and such, so I'll let someone else deal with that. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Morten Welinder
Message 2 of 2 in “Constify”
  1. ConstifyMorten Welinder, Apr 22, 2005
  2. Petr BaudisMay 17, 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.