summaryrefslogtreecommitdiff
path: root/devel/scmcvs/patches/patch-ai
blob: 41ac159a56c2f097f966ec79a8d216582973f8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ai,v 1.3 2013/10/14 06:51:02 adam Exp $

--- src/parseinfo.c.orig	2005-09-06 04:40:37.000000000 +0000
+++ src/parseinfo.c
@@ -557,6 +557,12 @@ parse_config (const char *cvsroot, const
 	    RCS_setlocalid (infopath, ln, &retval->keywords, p);
 	else if (strcmp (line, "KeywordExpand") == 0)
 	    RCS_setincexc (&retval->keywords, p);
+	else if (strcmp (line, "tag") == 0) {
+	    RCS_citag = strdup(p);
+	    if (RCS_citag == NULL) {
+		error (1, 0, "%s: no memory for local tag '%s'", infopath, p);
+	    }
+	}
 	else if (strcmp (line, "PreservePermissions") == 0)
 	{
 #ifdef PRESERVE_PERMISSIONS_SUPPORT