summaryrefslogtreecommitdiff
path: root/devel/cvs/patches/patch-at
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-02-23 01:32:11 +0000
committermycroft <mycroft@pkgsrc.org>2000-02-23 01:32:11 +0000
commit7a5d884b11826c684ed7a7e91b76c936d80bae56 (patch)
treeb55032b46fb4e74bac54265f9e8f7f91c584f0df /devel/cvs/patches/patch-at
parent94115e4ce84654cb9521e5ef56138f5cf57fe5da (diff)
downloadpkgsrc-7a5d884b11826c684ed7a7e91b76c936d80bae56.tar.gz
Fix a hole in SETXID_SUPPORT, but do not enable it by default yet.
Diffstat (limited to 'devel/cvs/patches/patch-at')
-rw-r--r--devel/cvs/patches/patch-at21
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/cvs/patches/patch-at b/devel/cvs/patches/patch-at
index 73fd85b1035..d1ee79c55c2 100644
--- a/devel/cvs/patches/patch-at
+++ b/devel/cvs/patches/patch-at
@@ -1,11 +1,21 @@
-$NetBSD: patch-at,v 1.2 1999/05/23 14:01:37 mycroft Exp $
+$NetBSD: patch-at,v 1.3 2000/02/23 01:32:11 mycroft Exp $
--- src/logmsg.c.orig Sat Jan 10 12:46:19 1998
-+++ src/logmsg.c Sun May 23 09:32:11 1999
-@@ -587,6 +587,15 @@
++++ src/logmsg.c Tue Feb 22 20:25:09 2000
+@@ -285,7 +285,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");
+@@ -586,6 +586,15 @@
+ xrealloc (str_list,
strlen (str_list) + strlen (p->key) + 5);
(void) strcat (str_list, p->key);
- break;
++ break;
+ case 't':
+ str_list =
+ xrealloc (str_list,
@@ -14,7 +24,6 @@ $NetBSD: patch-at,v 1.2 1999/05/23 14:01:37 mycroft Exp $
+ + 10)
+ );
+ (void) strcat (str_list, (li->tag ? li->tag : ""));
-+ break;
+ break;
case 'V':
str_list =
- xrealloc (str_list,