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

Re: Clean up write_in_full() users

From
MWMorten Welinder <mwelinder@gmail.com>
Date
Jan 12, 2007, 14:37 UTC
Message-ID
<118833cc0701120637i5808ac76g6ba4229cbe3aa26b@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0701112039100.3594@woody.osdl.org>
> The thing is, "write_or_die()" actually makes sense.

Except for a library. Calling exit is very unappealing in that case and trying to change die to use longjmp is even less appealing.

M.
Previous: Linus Torvalds
Message 4 of 4 in “Clean up write_in_full() users”
  1. Linus TorvaldsJan 12, 2007
  2. Shawn O. PearceJan 12, 2007
  3. Linus TorvaldsJan 12, 2007
  4. Morten WelinderJan 12, 2007

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.