--- parser3/src/classes/op.C 2019/11/22 22:37:30 1.252 +++ parser3/src/classes/op.C 2020/02/18 15:40:29 1.254 @@ -18,7 +18,7 @@ #include "pa_vclass.h" #include "pa_charset.h" -volatile const char * IDENT_OP_C="$Id: op.C,v 1.252 2019/11/22 22:37:30 moko Exp $"; +volatile const char * IDENT_OP_C="$Id: op.C,v 1.254 2020/02/18 15:40:29 moko Exp $"; // defines @@ -704,7 +704,7 @@ struct Cache_get_result { static Cache_get_result cache_get(Request_charsets& charsets, const String& file_spec, time_t now) { Cache_get_result result={0, false}; - File_read_result file=file_read(charsets, file_spec, false /*as_text*/, 0, /*no params*/ false /*fail_on_read_problem*/); + File_read_result file=file_read_binary(file_spec, false /*fail_on_read_problem*/); if(file.success && file.length /*ignore reads which are empty due to non-unary open+lockEX conflict with lockSH*/) { Data_string_serialized_prolog& prolog = *reinterpret_cast(file.str); @@ -892,7 +892,7 @@ static void _sleep_operator(Request& r, pa_sleep((int)trunc(seconds), (int)trunc((seconds-trunc(seconds))*1000000)); } -#if defined(WIN32) && defined(_DEBUG) +#if defined(WIN32) && defined(_DEBUG) && !defined(_WIN64) # define PA_BPT static void _bpt(Request&, MethodParams&) { _asm int 3;