From d05be6e87c9a996ff984c7ff7f57bfff53588f87 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Fri, 20 Nov 2009 15:48:13 -0700 Subject: [PATCH] moving more to quilt-style patches --- debian/patches/series | 2 ++ env.c | 13 ------------- ins_classic.h | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/debian/patches/series b/debian/patches/series index 7dbc947..264a255 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,4 @@ makefile-strip.diff sudo-1.7.2p1-visudo-manpage-fix.diff +typo-in-classic-insults.diff +env.c-safety.diff diff --git a/env.c b/env.c index 75457b9..3049dff 100644 --- a/env.c +++ b/env.c @@ -120,8 +120,6 @@ static struct environment env; static const char *initial_badenv_table[] = { "IFS", "CDPATH", - "SHELLOPTS", - "PS4", "LOCALDOMAIN", "RES_OPTIONS", "HOSTALIASES", @@ -604,17 +602,6 @@ rebuild_env(sudo_mode, noexec) if (keepit == -1) keepit = matches_env_keep(*ep); - if (!strncmp (*ep, "DISPLAY=",8) - || !strncmp (*ep, "XAUTHORITY=", 11) - || !strncmp (*ep, "XAUTHORIZATION=", 15) - || !strncmp (*ep, "XAPPLRESDIR=", 12) - || !strncmp (*ep, "XFILESEARCHPATH=", 16) - || !strncmp (*ep, "XUSERFILESEARCHPATH=", 20) - || !strncmp (*ep, "LANG=", 5) - || !strncmp (*ep, "LANGUAGE=", 9) - || !strncmp (*ep, "LC_", 3)) - keepit = 1; - /* For SUDO_PS1 -> PS1 conversion. */ if (strncmp(*ep, "SUDO_PS1=", 8) == 0) ps1 = *ep + 5; diff --git a/ins_classic.h b/ins_classic.h index 7c9939f..4321f64 100644 --- a/ins_classic.h +++ b/ins_classic.h @@ -32,7 +32,7 @@ "Where did you learn to type?", "Are you on drugs?", "My pet ferret can type better than you!", - "You type like I drive.", + "You type like i drive.", "Do you think like you type?", "Your mind just hasn't been the same since the electro-shock, has it?", -- 2.47.2