summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init.c5
-rw-r--r--version.log6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/init.c b/src/init.c
index 04f2e64b9..8cc49749f 100644
--- a/src/init.c
+++ b/src/init.c
@@ -405,9 +405,6 @@ int openlog_failed = 0, openlog_errno = 0;
int init_primary(int ac, char **av)
{
int started_from_term = isatty(0) && isatty(1) && isatty(2);
-#ifdef _WIN32
- char *winver;
-#endif
/* Set file creation mask and group ID. */
#if defined(DEFUMASK) && HAVE_UMASK
@@ -488,7 +485,7 @@ int init_secondary(int ac, char **av)
}
}
if (!SupportedWindowsVersion()) {
- winver = GetWindowsVersion();
+ char *winver = GetWindowsVersion();
alog("%s is not a supported version of Windows", winver);
free(winver);
return -1;
diff --git a/version.log b/version.log
index bbc84e0fc..4a0eda052 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1017"
+VERSION_BUILD="1018"
# $Log$
#
+# BUILD : 1.7.13 (1018)
+# BUGS :
+# NOTES : fixed winver var in init.c
+#
# BUILD : 1.7.13 (1017)
# BUGS :
# NOTES : updated version.log :P