From: Oliver Kiddle <opk@zsh.org>
To: Zsh workers <zsh-workers@zsh.org>
Subject: PATCH: watch, only set LOGCHECK from the module
Date: Thu, 25 Nov 2021 00:11:42 +0100 [thread overview]
Message-ID: <49954-1637795502.747229@E6dM.-jFP.zwvT> (raw)
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);
/*
reply other threads:[~2021-11-24 23:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49954-1637795502.747229@E6dM.-jFP.zwvT \
--to=opk@zsh.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public 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).