summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-at
blob: 04677b84897e28537e0bdadd0c866e0deb286a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-at,v 1.4 2000/10/18 03:31:17 hubertf Exp $

--- src/logmsg.c.orig	Wed Mar  1 17:33:39 2000
+++ src/logmsg.c
@@ -283,7 +283,7 @@
     run_setup (editinfo_editor ? editinfo_editor : Editor);
     run_arg (fname);
     if ((retcode = run_exec (RUN_TTY, RUN_TTY, RUN_TTY,
-			     RUN_NORMAL | RUN_SIGIGNORE)) != 0)
+			     RUN_NORMAL | RUN_SIGIGNORE | RUN_UNSETXID)) != 0)
 	error (editinfo_editor ? 1 : 0, retcode == -1 ? errno : 0,
 	       editinfo_editor ? "Logfile verification failed" :
 	       "warning: editor session failed");
@@ -590,6 +590,15 @@
 			xrealloc (str_list,
 				  strlen (str_list) + strlen (p->key) + 5);
 		    (void) strcat (str_list, p->key);
+		    break;
+		case 't':
+		    str_list =
+			xrealloc (str_list,
+				  (strlen (str_list)
+				   + (li->tag ? strlen (li->tag) : 0)
+				   + 10)
+				  );
+		    (void) strcat (str_list, (li->tag ? li->tag : ""));
 		    break;
 		case 'V':
 		    str_list =