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

[PATCH 2/4] Trivial compile fix for cache.c

From
PRPavel Roskin <proski@gnu.org>
Date
Jun 13, 2006, 04:32 UTC
Message-ID
<20060613043229.16681.52113.stgit@dv.roinet.com>
In-Reply-To
<20060613043224.16681.98358.stgit@dv.roinet.com>
From: Pavel Roskin <proski@gnu.org>
"tagnames" was renamed to "link", fix the last occurrence of "tagnames".
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cache.c b/cache.c
index 409392d..07e5d02 100644
--- a/cache.c
+++ b/cache.c
@@ -501,7 +501,7 @@ static void dump_patch_set(FILE * fp, Pa
 	struct list_head * tag;
 	for (tag = ps->tags.next; tag != &ps->tags; tag = tag->next)
 	{
-            TagName* tagname = list_entry (tag, TagName, tagnames);
+            TagName* tagname = list_entry (tag, TagName, link);
 
 	    fprintf(fp, " %s %d%s", tagname->name, tagname->flags,
 		    (tag->next == &ps->tags) ? "" : ",");
Previous: Pavel RoskinNext: Pavel Roskin
Message 2 of 4 in “Remove dependencies with absolute path”
  1. 1/4 Remove dependencies with absolute pathPavel Roskin, Jun 13, 2006
  2. 2/4 Trivial compile fix for cache.cPavel Roskin, Jun 13, 2006
  3. 3/4 Use __linux__ conditional, not LINUX.Pavel Roskin, Jun 13, 2006
  4. 4/4 Use INADDR_NONE instead of -1 to check inet_addr() resultPavel Roskin, Jun 13, 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.