From owner-svn-src-all@freebsd.org Fri Mar 22 04:57:01 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B918E155A25B; Fri, 22 Mar 2019 04:57:01 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B071869BB0; Fri, 22 Mar 2019 04:57:00 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x2M4uuQK063551; Thu, 21 Mar 2019 21:56:56 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x2M4uuS6063550; Thu, 21 Mar 2019 21:56:56 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201903220456.x2M4uuS6063550@gndrsh.dnsmgr.net> Subject: Re: svn commit: r345365 - head/bin/date In-Reply-To: To: Warner Losh Date: Thu, 21 Mar 2019 21:56:56 -0700 (PDT) CC: Ian Lepore , Warner Losh , src-committers , svn-src-all , svn-src-head Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: B071869BB0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.87 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.871,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2019 04:57:01 -0000 > On Thu, Mar 21, 2019 at 9:24 AM Ian Lepore wrote: > > > On Thu, 2019-03-21 at 06:47 +0000, Warner Losh wrote: > > > Author: imp > > > Date: Thu Mar 21 06:47:23 2019 > > > New Revision: 345365 > > > URL: https://svnweb.freebsd.org/changeset/base/345365 > > > > > > Log: > > > Remove -n flag, fix setting date / time > > > > > > > IMO, the -n flag should still be accepted, but ignored, to provide > > compatibility with anybody's old scripts or other automation that uses > > date -n, since the new default behavior is exactly what the old -n flag > > provided. > > > > On the other hand, the fact that date(1) has failed to set the date for > > about 3 months shows that it isn't a heavily-used command. > > > > I read this a few hours ago and thought "nope, well, maybe" and set it > aside. I'm still ambivalent. I've never used -n when setting the date in my > entire career. I didn't even know what it was when this bug was brought up. When timed was kicked out of base some people rasied there hands about the fact they used it, perhaps go back to that and ask them about this use of -n and if just defaulting to always doing that is or isnt an issue for them. > so on the one hand it's easy enough to ignore, on the other we have enough > ignore for compatibility junk in the tree... Another item to add to the long list of things to consider in a deprication policy. > Warner -- Rod Grimes rgrimes@freebsd.org