git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying
[exim.git]
/
src
/
exim_monitor
/
em_version.c
diff --git
a/src/exim_monitor/em_version.c
b/src/exim_monitor/em_version.c
index 4c562925cd4a8244557a1f7f8f35e24f71002ecc..8f047ce5a9140a1a43ffe2e393cd13975c9738a9 100644
(file)
--- a/
src/exim_monitor/em_version.c
+++ b/
src/exim_monitor/em_version.c
@@
-2,26
+2,16
@@
* Exim Monitor *
*************************************************/
* Exim Monitor *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2020 - 2024 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
-/* Copyright (c) The Exim Maintainers 2020 - 2021 */
/* See the file NOTICE for conditions of use and distribution. */
/* SPDX-License-Identifier: GPL-2.0-or-later */
#define EM_VERSION_C
/* See the file NOTICE for conditions of use and distribution. */
/* SPDX-License-Identifier: GPL-2.0-or-later */
#define EM_VERSION_C
-/* Needed by macros.h */
-/* Some systems have PATH_MAX and some have MAX_PATH_LEN. */
-
-#ifndef PATH_MAX
-# ifdef MAX_PATH_LEN
-# define PATH_MAX MAX_PATH_LEN
-# else
-# define PATH_MAX 1024
-# endif
-#endif
-
#include "mytypes.h"
#include "store.h"
#include "mytypes.h"
#include "store.h"
+#include "path_max.h"
#include "macros.h"
#include <string.h>
#include <stdlib.h>
#include "macros.h"
#include <string.h>
#include <stdlib.h>
@@
-34,8
+24,10
@@
extern uschar *version_date;
void
version_init(void)
{
void
version_init(void)
{
+#ifndef EXIM_BUILD_DATE_OVERRIDE
int i = 0;
uschar today[20];
int i = 0;
uschar today[20];
+#endif
version_string = US"2.06";
version_string = US"2.06";