Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/ntp/lib/libntp



    Date:        Fri, 19 Apr 2024 14:58:18 +0000
    From:        "Jonathan A. Kollasch" <jakllsch%netbsd.org@localhost>
    Message-ID:  <20240419145818.351D2FA2C%cvs.NetBSD.org@localhost>

  |  - bail out if resulting __DATE__/__TIME__ replacement strings are empty

If you want to do that (not that it would be useful, even if the %b
(etc) conversions produced nothing, there would still be two spaces
in the output.   It is almost impossible to get date to exit with an
error code (and nothing on stdout) in cases like this.

But if this is worth keeping, then

	if ${MKREPRO_TIME} == "" || ${MKREPRO_TIME} == ""

probably is not what you wanted.

kre



Home | Main Index | Thread Index | Old Index