From 18a2edfb84a980ea1d0d113b60d9292d49b29e4a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 8 Mar 2015 20:14:10 +0000 Subject: [PATCH] =?UTF-8?q?Dropping=20compile=20time=20from=20version=20in?= =?UTF-8?q?formation=20to=20enable=20a=20reproducible=20build.=20=20Propos?= =?UTF-8?q?ed=20by=20J=C3=A9r=C3=A9my=20Bobbio=20and=20Jordi=20Mallach.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5136 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/nano.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d3708396..b8ead504 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ * src/rcfile.c (parse_binding): Fix the rebinding of toggles. * doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi: Update years and version numbers in the docs in anticipation of a release. + * src/nano.c (version): Drop compile time from version information + to enable a reproducible build. Proposed by Jérémy Bobbio and Jordi + Mallach (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774388). 2015-03-07 Benno Schulenberg * doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the diff --git a/src/nano.c b/src/nano.c index b5c8cba7..e1a38b5c 100644 --- a/src/nano.c +++ b/src/nano.c @@ -960,8 +960,7 @@ void usage(void) * it was compiled with. */ void version(void) { - printf(_(" GNU nano version %s (compiled %s, %s)\n"), VERSION, - __TIME__, __DATE__); + printf(_(" GNU nano, version %s\n"), VERSION); printf(" (C) 1999..2015 Free Software Foundation, Inc.\n"); printf( _(" Email: nano@nano-editor.org Web: http://www.nano-editor.org/"));