summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-ai
blob: 94f4bc39a4ab175fd62158647036bcd57c20bb81 (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.4 2002/11/24 21:31:23 hubertf Exp $

--- src/parseinfo.c.orig	Fri Aug 24 19:47:02 2001
+++ src/parseinfo.c
@@ -340,6 +340,14 @@
 		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)