Skip to content

Commit

Permalink
fix 4715
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Jun 18, 2016
1 parent 9cb499b commit 8989f14
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
drkns 18.06.2016 18:09:29 +0200 - build 4716

1. Уточнение 4715.

drkns 18.06.2016 13:55:55 +0200 - build 4715

1. С форума: неверная прорисовка часов с учетом региональных настроек.
Expand Down
2 changes: 1 addition & 1 deletion far/global.hpp
Expand Up @@ -74,7 +74,7 @@ class global: noncopyable
size_t PluginPanelsCount;
BOOL ProcessException;
string CurrentTime;
size_t LastShownTimeSize;
size_t LastShownTimeSize{};
const wchar_t *HelpFileMask;
bool OnlyEditorViewerUsed; // -e or -v
#if defined(SYSLOG)
Expand Down
6 changes: 2 additions & 4 deletions far/sqlite.c
Expand Up @@ -31,10 +31,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "disable_warnings_in_std_begin.hpp"
#include <windows.h>
#include "disable_warnings_in_std_end.hpp"

#include "common/preprocessor.hpp"

WARNING_PUSH(3)
Expand All @@ -46,6 +42,8 @@ WARNING_DISABLE_GCC("-Warray-bounds")
WARNING_DISABLE_GCC("-Wunused-but-set-variable")
WARNING_DISABLE_GCC("-Wcast-qual")

#include <windows.h>

// SQlite 3.12 suddenly started using rand_s function, which depends on RtlGenRandom (SystemFunction036), which is not available in Win2k.
// It would be better to hook only SystemFunction036 via our vc_crt_fix* facilities, but ucrt devs load it via GetProcAddress and call abort() if it's not available,
// which is, of course, a truly splendid design decision, my hat's off to them.
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4715)m4_dnl
m4_define(BUILD,4716)m4_dnl

0 comments on commit 8989f14

Please sign in to comment.