From owner-svn-src-head@freebsd.org Thu Sep 13 16:41:16 2018 Return-Path: Delivered-To: svn-src-head@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 554A2109309E; Thu, 13 Sep 2018 16:41:16 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3BE579136; Thu, 13 Sep 2018 16:41:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EECDD1829A; Thu, 13 Sep 2018 16:41:15 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8DGfFT9015939; Thu, 13 Sep 2018 16:41:15 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8DGfFA2015938; Thu, 13 Sep 2018 16:41:15 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201809131641.w8DGfFA2015938@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Thu, 13 Sep 2018 16:41:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338653 - head/contrib/ofed/infiniband-diags/src X-SVN-Group: head X-SVN-Commit-Author: gjb X-SVN-Commit-Paths: head/contrib/ofed/infiniband-diags/src X-SVN-Commit-Revision: 338653 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 16:41:16 -0000 Author: gjb Date: Thu Sep 13 16:41:15 2018 New Revision: 338653 URL: https://svnweb.freebsd.org/changeset/base/338653 Log: Remove __DATE__ and __TIME__ from ibdiag_common.c, replacing with the hard-coded string "not available" to ensure reproducible builds. Discussed with: emaste Approved by: re (rgrimes) Sponsored by: The FreeBSD Foundation Modified: head/contrib/ofed/infiniband-diags/src/ibdiag_common.c Modified: head/contrib/ofed/infiniband-diags/src/ibdiag_common.c ============================================================================== --- head/contrib/ofed/infiniband-diags/src/ibdiag_common.c Thu Sep 13 16:27:21 2018 (r338652) +++ head/contrib/ofed/infiniband-diags/src/ibdiag_common.c Thu Sep 13 16:41:15 2018 (r338653) @@ -84,8 +84,7 @@ static const struct ibdiag_opt *opts_map[256]; static const char *get_build_version(void) { - return "BUILD VERSION: " IBDIAG_VERSION " Build date: " __DATE__ " " - __TIME__; + return "BUILD VERSION: " IBDIAG_VERSION; } static void pretty_print(int start, int width, const char *str)