1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00

49602: only set LOGCHECK from the watch module

This commit is contained in:
Oliver Kiddle 2021-11-28 20:51:41 +01:00
parent 78958c08bf
commit 926a1a7296
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2021-11-28 Oliver Kiddle <opk@zsh.org>
* 49602: Src/params.c: only set LOGCHECK from the watch module
* 49601: Src/hist.c, Test/W01history.ztst: don't create
ambiguous history file entries for lines ending with a backslash

View file

@ -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);
/*