summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-ai
blob: 0115cc8e3b1709934348b96ae72e857dee9b7af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ai,v 1.7 2004/04/15 22:28:36 wiz Exp $

--- src/parseinfo.c.orig	Fri Mar 19 21:36:39 2004
+++ src/parseinfo.c
@@ -350,6 +350,14 @@ parse_config (cvsroot)
 		goto error_return;
 	    }
 	}
+	else if (strcmp (line, "tag") == 0) {
+	    RCS_citag = strdup(p);
+	    if (RCS_citag == NULL) {
+		error (0, 0, "%s: no memory for local tag '%s'",
+		       infopath, p);
+		goto error_return;
+	    }
+	}
 	else if (strcmp (line, "PreservePermissions") == 0)
 	{
 	    if (strcmp (p, "no") == 0)