summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-ai
blob: 8be8a9c9821dd5fc35f4774fe7c2772bc857cb87 (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.9 2005/04/19 12:39:18 wiz Exp $

--- src/parseinfo.c.orig	2005-03-16 23:01:21.000000000 +0100
+++ src/parseinfo.c
@@ -357,6 +357,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)