zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: watch, only set LOGCHECK from the module
@ 2021-11-24 23:11 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2021-11-24 23:11 UTC (permalink / raw)
  To: Zsh workers

It seems I forgot to remove the line which sets $LOGCHECK from the base
shell when it was moved to the module.

There's also a typo in a comment a few lines above that.

Oliver

diff --git a/Src/params.c b/Src/params.c
index dadf83129..970a207e4 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -758,7 +758,7 @@ split_env_string(char *env, char **name, char **value)
  */
 static int dontimport(int flags)
 {
-    /* If explicitly marked as don't export */
+    /* If explicitly marked as don't import */
     if (flags & PM_DONTIMPORT)
 	return 1;
     /* If value already exported */
@@ -818,7 +818,6 @@ createparamtable(void)
      * given them in the environment.                           */
     opts[ALLEXPORT] = 0;
     setiparam("MAILCHECK", 60);
-    setiparam("LOGCHECK", 60);
     setiparam("KEYTIMEOUT", 40);
     setiparam("LISTMAX", 100);
     /*


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-24 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 23:11 PATCH: watch, only set LOGCHECK from the module Oliver Kiddle

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).