diff --git a/ChangeLog b/ChangeLog index d37083967f6b7b2827f4a54e2f065123addcac95..b8ead50483495d3e517b3d0ae789f15b6c9c580d 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 <bensberg@justemail.net> * doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the diff --git a/src/nano.c b/src/nano.c index b5c8cba784a91d3888b50bc2843b3143e10a6e5e..e1a38b5c464d1a8c6e98308df735687dceb235a7 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/"));