From owner-freebsd-hackers@freebsd.org Mon Mar 30 13:42:01 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAC502A3E5A for ; Mon, 30 Mar 2020 13:42:01 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48rYXb2LBjz4CvQ for ; Mon, 30 Mar 2020 13:41:50 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Received: by mail-il1-x12a.google.com with SMTP id j69so15755079ila.11 for ; Mon, 30 Mar 2020 06:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=939slReVJPeQQ5e9tXB0ZMugWRj0zSvd13neNKAyAvk=; b=sA5ZgrXdrHQXFqlLnnotEsUKY5R4XET76Y9Zyq+Ae8UfmNw2WnqLbqZlIru0uMD8cE MDB4vgm8NT2Q+oDJA332OLXZQZI3x3WM/gU2WoTPdq+0m3nHpBRQ2pW5DSDHp6WVg48a P6FSdlP/yx5ChfY2Wf59Qyv2QlKsdFqa75hp50LlnDiP3z5uWBCzlwgj9Q0ma9dJHMEN Lmst1kuGQuVeBFyu+XgaBBCc2PQbpClD9DRKANV1WFbJ8FEsJ2jwIKIotbp6iVTt2rV8 3QbL+Scle8Z91ze69UV9dGxErGWQgp6fH2OXtnfjVhI9TzNvAEhLrpfg4Nnj6oBbmtI9 g3jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=939slReVJPeQQ5e9tXB0ZMugWRj0zSvd13neNKAyAvk=; b=IIg07FzUVKNEbTwQeV3BNU+AbMHUpGrt/Rmjo8INbIiCyzCXJXblUoEfydCuvLO0vI 9vUpk6lUQjYFMDAFcfOtqIM4kN3YmnfpgclHSWYnLWy4EuAYQlC8mhIiTxQcRyKsH5YS s6Np371jdmYID2wRDt367Te0tpUV3Y36+5Ao2xAh8jd8JMJDB/S0txaIqbF2xlFl7SC1 eMlRm81v7YlVYVY19pzdqjAvXGqoLWS4k2P4+0Hb4e8Ss181SNzz+IkLB5q68xIIoGIp aYmiGxZrDxf/WWbUPLs20bctREaHCbErWnpRAGxa2hG051il8mb+/P4kSv+Kg5HErwWY xoKw== X-Gm-Message-State: ANhLgQ0iYIbWW7N9pN4poJ0unFuMigPP1OmLszt6Vt5/ypkL3sEu8mhf 4LKzNnwUlHQzxQwSM0v+Z67LCRBdSVWSBnqo3IeT/VaF X-Google-Smtp-Source: ADFU+vsLCy+LI+3yYiCuIN1KnKacmehu9lkU8D4e1tHJoFZjyQs88GMDpCWwIRF6CAsJR7gBgEZim7ophPiy+m4HxO0= X-Received: by 2002:a92:49da:: with SMTP id k87mr8052919ilg.149.1585575701192; Mon, 30 Mar 2020 06:41:41 -0700 (PDT) MIME-Version: 1.0 From: Greg Balfour Date: Mon, 30 Mar 2020 08:41:29 -0500 Message-ID: Subject: Patch for calendar(1) To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48rYXb2LBjz4CvQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=sA5ZgrXd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gregbal4@gmail.com designates 2607:f8b0:4864:20::12a as permitted sender) smtp.mailfrom=gregbal4@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-8.28), ipnet: 2607:f8b0::/32(-0.35), asn: 15169(-0.46), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[a.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 13:42:01 -0000 Can a committer look at the patch that's attached to this bug report and possibly get it committed? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201062 I finally got around to debugging an issue I've had for years with calendar(1) and independently came up with the same solution as in the above bug report. Didn't notice someone else had long ago suggested this fix until checking to see if it applied to other bug reports. The patch will also resolve the problems reported in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240427 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234663 And while looking at calendar(1) bug reports... Looks like this was committed but is still open. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162211 This one can be closed OBE since the file it patches was removed in 10.2-RELEASE. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186294 To address https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=173389 the line 11/05* Election Day in USA (1st Tuesday after 1st Monday for even years) should be removed from /usr/share/calendar/calendar.usholiday The 1st Tuesday after 1st Monday for even years isn't always the 5th. Thanks.