2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

2583. [port] netbsd: provide a control to not add the compile

date to the version string, -DNO_VERSION_DATE.
This commit is contained in:
Mark Andrews
2009-04-03 19:55:59 +00:00
parent 00c8156b24
commit b9636a8e43
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
2583. [port] netbsd: provide a control to not add the compile
date to the version string, -DNO_VERSION_DATE.
2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.c,v 1.170 2009/03/05 03:13:55 marka Exp $ */
/* $Id: main.c,v 1.171 2009/04/03 19:55:59 marka Exp $ */
/*! \file */
@@ -885,10 +885,10 @@ main(int argc, char *argv[]) {
* strings named.core | grep "named version:"
*/
strlcat(version,
#ifdef __DATE__
"named version: BIND " VERSION " (" __DATE__ ")",
#else
#if defined(NO_VERSION_DATE) || !defined(__DATE__)
"named version: BIND " VERSION,
#else
"named version: BIND " VERSION " (" __DATE__ ")",
#endif
sizeof(version));
result = isc_file_progname(*argv, program_name, sizeof(program_name));