2014-11-05 12:41:07 +01:00

18 lines
623 B
Plaintext

$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