Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 18:43:54 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257129 - head/contrib/subversion/subversion/libsvn_subr
Message-ID:  <201310251843.r9PIhsGh083931@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Fri Oct 25 18:43:53 2013
New Revision: 257129
URL: http://svnweb.freebsd.org/changeset/base/257129

Log:
  Remove time and date stamps from svn* binaries, in order to make the
  builds reproducible.
  
  Reviewed by:	peter
  MFC after:	3 days

Modified:
  head/contrib/subversion/subversion/libsvn_subr/opt.c
  head/contrib/subversion/subversion/libsvn_subr/version.c

Modified: head/contrib/subversion/subversion/libsvn_subr/opt.c
==============================================================================
--- head/contrib/subversion/subversion/libsvn_subr/opt.c	Fri Oct 25 18:39:01 2013	(r257128)
+++ head/contrib/subversion/subversion/libsvn_subr/opt.c	Fri Oct 25 18:43:53 2013	(r257129)
@@ -1115,10 +1115,8 @@ svn_opt__print_version_info(const char *
     return svn_cmdline_printf(pool, "%s\n", SVN_VER_NUMBER);
 
   SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n"
-                                     "   compiled %s, %s on %s\n\n"),
+                                     "   compiled on %s\n\n"),
                              pgm_name, SVN_VERSION,
-                             svn_version_ext_build_date(info),
-                             svn_version_ext_build_time(info),
                              svn_version_ext_build_host(info)));
   SVN_ERR(svn_cmdline_printf(pool, "%s\n", svn_version_ext_copyright(info)));
 

Modified: head/contrib/subversion/subversion/libsvn_subr/version.c
==============================================================================
--- head/contrib/subversion/subversion/libsvn_subr/version.c	Fri Oct 25 18:39:01 2013	(r257128)
+++ head/contrib/subversion/subversion/libsvn_subr/version.c	Fri Oct 25 18:43:53 2013	(r257129)
@@ -125,8 +125,8 @@ svn_version_extended(svn_boolean_t verbo
 {
   svn_version_extended_t *info = apr_pcalloc(pool, sizeof(*info));
 
-  info->build_date = __DATE__;
-  info->build_time = __TIME__;
+  info->build_date = NULL;
+  info->build_time = NULL;
   info->build_host = SVN_BUILD_HOST;
   info->copyright = apr_pstrdup
     (pool, _("Copyright (C) 2013 The Apache Software Foundation.\n"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310251843.r9PIhsGh083931>