From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 389 invoked from network); 24 Nov 2021 23:11:56 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Nov 2021 23:11:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date:Content-ID: Content-Type:MIME-Version:Subject:To:From:Reply-To:Cc: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=xiWz3EmJgbghUD2PXhNzA2Z2SvDkg2XLlvpFOIQacuo=; b=GysKSGdjYs0cPjoyv8ozLeY7mw gJruisCfw+B1o46TdkoD9HWP80lc3n0OQAkgf5JyGjatD97sPxx9WOOyfyHjjcUvipdBOJh4nZcz2 N8dRFmOfrjD1DlpXGqvCK2CwRGH90MDfzI89CY7pjCQ4bxAUW6D60jXn/CnA0SAdKw/LrXUxxzYmW rLP3SPxCE7h1uILySIzif+Yx/Yu0SArLHphXlGYwDoJaAHrkGfWDf+CS5sFOmRDf1EugoCh4YJ519 TP5K1cYdHPeNECHHZWHN2COlwy5KWkrecgHM5aHg3YJgR7LPpvsFFOX0wsq94t5qncbxvIvG1jd+Y jTceJXXQ==; Received: from authenticated user by zero.zsh.org with local id 1mq1Qi-000DgX-6o; Wed, 24 Nov 2021 23:11:56 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mq1QV-000DOQ-3V; Wed, 24 Nov 2021 23:11:43 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.94.2) (envelope-from ) id 1mq1QU-000Czj-OC for zsh-workers@zsh.org; Thu, 25 Nov 2021 00:11:42 +0100 From: Oliver Kiddle To: Zsh workers Subject: PATCH: watch, only set LOGCHECK from the module MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <49953.1637795502.1@hydra> Date: Thu, 25 Nov 2021 00:11:42 +0100 Message-ID: <49954-1637795502.747229@E6dM.-jFP.zwvT> X-Seq: 49602 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: 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); /*