From 05b35258638fa61915e38a3fbb327f0c28b90eee Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 25 Jan 2021 13:14:16 +0100 Subject: [PATCH 1/2] changed: version to 0.7.1 --- winixd/core/version.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winixd/core/version.h b/winixd/core/version.h index c183ba9..6cda16b 100644 --- a/winixd/core/version.h +++ b/winixd/core/version.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2008-2018, Tomasz Sowa + * Copyright (c) 2008-2021, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ namespace Winix #define WINIX_VER_MAJOR 0 #define WINIX_VER_MINOR 7 -#define WINIX_VER_REVISION 0 +#define WINIX_VER_REVISION 1 From 499db7e3ebf6f43774550418bff0036ef0418db1 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 25 Jan 2021 17:55:07 +0100 Subject: [PATCH 2/2] fixed: session logger didn't have 'cur' and 'locale' pointers set but this is a temporary fix, the session logger will be moved to Session class --- winixd/functions/functions.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/winixd/functions/functions.cpp b/winixd/functions/functions.cpp index f26204e..88ab17d 100644 --- a/winixd/functions/functions.cpp +++ b/winixd/functions/functions.cpp @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2010-2018, Tomasz Sowa + * Copyright (c) 2010-2021, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -118,6 +118,13 @@ FunctionBase * Functions::Find(const std::wstring & function_name) if( i == table.end() ) return 0; + FunctionBase * fun = i->second; + + // this is to set 'cur' and 'locale' for slog, but in the future slog will be moved to Session + fun->set_cur(cur); + fun->set_locale(locale); + // + return i->second; }