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

Re: [PATCH] path-list documentation: document all functions and data structures

From
OMOlivier Marin <dkr+ml.git@free.fr>
Date
Jun 14, 2008, 12:50 UTC
Message-ID
<4853BE8E.4030009@free.fr>
In-Reply-To
<1213404964-25161-1-git-send-email-vmiklos@frugalware.org>
Miklos Vajna a écrit :
> 
> +. Allocates and clears (`memset(&list, \'\0', sizeof(list));`) a
> +  `struct path_list` variable.
What about just `memset(&list, 0, sizeof(list))` instead?

It's readable in the text format, clean in html and this is the way memset() is used.

Olivier.
Previous: Miklos VajnaNext: Miklos Vajna
Message 8 of 15 in “git-apply doesn't handle same name patches well”
  1. git-apply doesn't handle same name patches wellDon Zickus, Jun 13, 2008
  2. Johannes SchindelinJun 13, 2008
  3. Don ZickusJun 13, 2008
  4. path-list documentation: document all functions and data structuresMiklos Vajna, Jun 13, 2008
  5. Olivier MarinJun 13, 2008
  6. path-list documentation: document all functions and data structuresMiklos Vajna, Jun 14, 2008
  7. path-list documentation: document all functions and data structuresMiklos Vajna, Jun 14, 2008
  8. Olivier MarinJun 14, 2008
  9. Miklos VajnaJun 14, 2008
  10. Johannes SchindelinJun 14, 2008
  11. path-list documentation: document all functions and data structuresMiklos Vajna, Jun 14, 2008
  12. Jakub NarebskiJun 15, 2008
  13. path-list documentation: document all functions and data structuresMiklos Vajna, Jun 15, 2008
  14. Junio C HamanoJun 15, 2008
  15. Mike RalphsonJun 16, 2008

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.