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

Completion of error handling

From
MEMarkus Elfring <markus.elfring@web.de>
Date
Feb 2, 2010, 13:11 UTC
Message-ID
<4B68249F.6070004@web.de>
Hello,
I would like to point out that some checks for return codes are missing in the source files.

Examples: Would you like to add more error handling for return values from "pthread_mutex_init" like in the function "start_threads" and from "fprintf" in the function "output_header_lines"? http://git.kernel.org/?p=git/git.git;a=blob;f=builtin-grep.c;h=0ef849cb84650705ffc840aed8a3fcedbeb48f9a;hb=HEAD#l224 http://git.kernel.org/?p=git/git.git;a=blob;f=builtin-mailinfo.c;h=a50ac2256cdbacd76ed44a50804212be07f949db;hb=HEAD#l935

Regards, Markus

Next: Nicolas Pitre
Message 1 of 14 in “Completion of error handling”
  1. Markus ElfringFeb 2, 2010
  2. Nicolas PitreFeb 2, 2010
  3. Markus ElfringFeb 2, 2010
  4. Nicolas PitreFeb 2, 2010
  5. Markus ElfringFeb 2, 2010
  6. Avery PennarunFeb 2, 2010
  7. Markus ElfringFeb 2, 2010
  8. Avery PennarunFeb 2, 2010
  9. Markus ElfringFeb 2, 2010
  10. Avery PennarunFeb 2, 2010
  11. Markus ElfringFeb 2, 2010
  12. Markus ElfringFeb 11, 2010
  13. Andreas EricssonFeb 16, 2010
  14. Markus ElfringFeb 18, 2010

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.