]> diplodocus.org Git - nmh/commitdiff
pick: Remove support for MHPDEBUG environment variable.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 27 Aug 2017 09:39:11 +0000 (10:39 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 27 Aug 2017 09:39:11 +0000 (10:39 +0100)
It was deprecated in 1.7, and the -debug option gives the same
behaviour.

man/mh-profile.man
test/common.sh.in
uip/pick.c

index 72ba2dc..405ee63 100644 (file)
@@ -884,18 +884,6 @@ profile (file) to be read by
 .BR mhstore ,
 in addition to the mhn.defaults profile.
 .TP
 .BR mhstore ,
 in addition to the mhn.defaults profile.
 .TP
-MHPDEBUG
-If this variable is set to a non-null value,
-.B pick
-will emit a representation of the search pattern.
-MHPDEBUG
-is deprecated, so support for this variable will be removed from a
-future nmh release.  Instead,
-.B pick
-now supports a
-.B \-debug
-switch.
-.TP
 MHTMPDIR, TMPDIR
 These variables are searched, in order, for the directory in which to
 create some temporary files.
 MHTMPDIR, TMPDIR
 These variables are searched, in order, for the directory in which to
 create some temporary files.
index 45db9db..1dbbf2c 100644 (file)
@@ -35,7 +35,7 @@ HOME="$MH_TEST_DIR"
 export HOME
 
 unset MAILDROP MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE
 export HOME
 
 unset MAILDROP MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE
-unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER XOAUTH SMTPUTF8
+unset MHLDEBUG MHWDEBUG PAGER XOAUTH SMTPUTF8
 #### Set LC_ALL in individual tests as needed.  Unset these so
 #### that we don't depend on user's settings in other tests.
 unset LANG LC_ALL LC_CTYPE
 #### Set LC_ALL in individual tests as needed.  Unset these so
 #### that we don't depend on user's settings in other tests.
 unset LANG LC_ALL LC_CTYPE
index 373fa59..596133a 100644 (file)
@@ -74,10 +74,6 @@ main (int argc, char **argv)
 
     done=putzero_done;
 
 
     done=putzero_done;
 
-    /* Deprecated.  Use -debug instead. */
-    if ((cp = getenv ("MHPDEBUG")) && *cp)
-       ++debug;
-
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;