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

Re: [PATCH] Seek back to current filepos when mmap()ing with NO_MMAP

From
MWMorten Welinder <mwelinder@gmail.com>
Date
Nov 15, 2006, 18:26 UTC
Message-ID
<118833cc0611151026q25fb6eeeid3a74e20498f00d@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.63.0611151727000.13772@wbgn013.biozentrum.uni-wuerzburg.de>

Using xmalloc in there seems wrong. A plain malloc would do and the error would be returned back to the mmap caller.

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 4 in “Seek back to current filepos when mmap()ing with NO_MMAP”
  1. Seek back to current filepos when mmap()ing with NO_MMAPJohannes Schindelin, Nov 15, 2006
  2. Morten WelinderNov 15, 2006
  3. Johannes SchindelinNov 15, 2006
  4. Alex RiesenNov 15, 2006

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.