Permalink
Browse files

MFC r257129:

  Remove time and date stamps from svn* binaries, in order to make the
  builds reproducible.

Approved by:	re (glebius)
  • Loading branch information...
1 parent 2f628a2 commit 6fe3b99530e57ab12dd50802b9c4d642a6f2be73 @cperciva cperciva committed Oct 28, 2013
View
4 contrib/subversion/subversion/libsvn_subr/opt.c
@@ -1115,10 +1115,8 @@ svn_opt__print_version_info(const char *pgm_name,
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)));
View
4 contrib/subversion/subversion/libsvn_subr/version.c
@@ -125,8 +125,8 @@ svn_version_extended(svn_boolean_t verbose,
{
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"

0 comments on commit 6fe3b99

Please sign in to comment.