summaryrefslogtreecommitdiff
path: root/zen/time.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
commita1c91f4695e208d5a8f80dc37b1818169b7829ff (patch)
tree52f5134376d17c99b6c9e53133a2eb5cf171377c /zen/time.h
parent5.16 (diff)
downloadFreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.gz
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.bz2
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.zip
5.17
Diffstat (limited to 'zen/time.h')
-rw-r--r--zen/time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/time.h b/zen/time.h
index 80481856..e94300a0 100644
--- a/zen/time.h
+++ b/zen/time.h
@@ -1,6 +1,6 @@
// **************************************************************************
-// * This file is part of the zenXML project. It is distributed under the *
-// * Boost Software License: http://www.boost.org/LICENSE_1_0.txt *
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
// **************************************************************************
@@ -197,8 +197,8 @@ template <class CharType> inline
size_t strftimeWrap(CharType* buffer, size_t bufferSize, const CharType* format, const struct std::tm* timeptr)
{
#if defined _MSC_VER && !defined NDEBUG
- //it's no use: application init must register an invalid parameter that does nothing !!!
- //=> strftime will abort with 0 and set errno to EINVAL instead of CRASH THE APPLICATION!
+ //there's no way around: application init must register an invalid parameter handler that does nothing !!!
+ //=> strftime will abort with 0 and set errno to EINVAL instead of CRASHING THE APPLICATION!
_invalid_parameter_handler oldHandler = _set_invalid_parameter_handler(nullptr);
assert(oldHandler);
_set_invalid_parameter_handler(oldHandler);
bgstack15