summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-ai
blob: cc5c76ca5d584c30b95515f43de284fb9c21488e (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.5 2003/07/12 09:19:18 wiz Exp $

--- src/parseinfo.c.orig	Sun May 25 16:10:16 2003
+++ src/parseinfo.c
@@ -346,6 +346,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)