Commit 0cb0a556 authored by Gábor Szalai's avatar Gábor Szalai
Browse files

Remove setlocal call

The setlocal() function call is not needed, but triggers a bug in the
TITAN's float2str, log, and ttcn2string functions. The setlocal()
call breaks the float to string conversion on some locals.

The f_EPTF_StatCapture_get_time function called with format
specifier: either "%Y-%m-%d_%H.%M.%S" or "%Y-%m-%d-%H:%M:%S"
None of the local dependent.

Change-Id: Id4d4efd197ffeac3c0db2990a118ad77dcce5961
parent 9a18b0dd
......@@ -54,7 +54,7 @@ CHARSTRING f__EPTF__StatCapture__get__time (const CHARSTRING& formatstring = "%Y
time_t tim=time(NULL);
tm *now=localtime(&tim);
setlocale (LC_ALL, "");
// setlocale (LC_ALL, "");
data_size=strftime(ptr, buff_size, formatstring, now);
if (milisec) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment