summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-ai
blob: b66e36b8629d9ddf1e2eeec0e8cd67235dbcbf92 (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.8 2005/03/01 15:36:48 wiz Exp $

--- src/parseinfo.c.orig	2005-01-31 23:14:54.000000000 +0100
+++ src/parseinfo.c
@@ -355,6 +355,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)