Loading liblog/fake_log_device.c +2 −2 Original line number Diff line number Diff line Loading @@ -352,7 +352,7 @@ static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) { static void showLog(LogState *state, int logPrio, const char* tag, const char* msg) { #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) struct tm tmBuf; #endif struct tm* ptm; Loading @@ -377,7 +377,7 @@ static void showLog(LogState *state, * in the time stamp. Don't use forward slashes, parenthesis, * brackets, asterisks, or other special chars here. */ #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) ptm = localtime_r(&when, &tmBuf); #else ptm = localtime(&when); Loading liblog/log_time.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ char *log_time::strptime(const char *s, const char *format) { #endif struct tm *ptm; #if (defined(HAVE_LOCALTIME_R)) #if !defined(_WIN32) struct tm tmBuf; ptm = localtime_r(&now, &tmBuf); #else Loading Loading @@ -78,7 +78,7 @@ char *log_time::strptime(const char *s, const char *format) { ++ret; } now = tv_sec; #if (defined(HAVE_LOCALTIME_R)) #if !defined(_WIN32) ptm = localtime_r(&now, &tmBuf); #else ptm = localtime(&now); Loading liblog/logprint.c +2 −2 Original line number Diff line number Diff line Loading @@ -726,7 +726,7 @@ char *android_log_formatLogLine ( const AndroidLogEntry *entry, size_t *p_outLength) { #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) struct tm tmBuf; #endif struct tm* ptm; Loading @@ -749,7 +749,7 @@ char *android_log_formatLogLine ( * in the time stamp. Don't use forward slashes, parenthesis, * brackets, asterisks, or other special chars here. */ #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) ptm = localtime_r(&(entry->tv_sec), &tmBuf); #else ptm = localtime(&(entry->tv_sec)); Loading Loading
liblog/fake_log_device.c +2 −2 Original line number Diff line number Diff line Loading @@ -352,7 +352,7 @@ static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) { static void showLog(LogState *state, int logPrio, const char* tag, const char* msg) { #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) struct tm tmBuf; #endif struct tm* ptm; Loading @@ -377,7 +377,7 @@ static void showLog(LogState *state, * in the time stamp. Don't use forward slashes, parenthesis, * brackets, asterisks, or other special chars here. */ #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) ptm = localtime_r(&when, &tmBuf); #else ptm = localtime(&when); Loading
liblog/log_time.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ char *log_time::strptime(const char *s, const char *format) { #endif struct tm *ptm; #if (defined(HAVE_LOCALTIME_R)) #if !defined(_WIN32) struct tm tmBuf; ptm = localtime_r(&now, &tmBuf); #else Loading Loading @@ -78,7 +78,7 @@ char *log_time::strptime(const char *s, const char *format) { ++ret; } now = tv_sec; #if (defined(HAVE_LOCALTIME_R)) #if !defined(_WIN32) ptm = localtime_r(&now, &tmBuf); #else ptm = localtime(&now); Loading
liblog/logprint.c +2 −2 Original line number Diff line number Diff line Loading @@ -726,7 +726,7 @@ char *android_log_formatLogLine ( const AndroidLogEntry *entry, size_t *p_outLength) { #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) struct tm tmBuf; #endif struct tm* ptm; Loading @@ -749,7 +749,7 @@ char *android_log_formatLogLine ( * in the time stamp. Don't use forward slashes, parenthesis, * brackets, asterisks, or other special chars here. */ #if defined(HAVE_LOCALTIME_R) #if !defined(_WIN32) ptm = localtime_r(&(entry->tv_sec), &tmBuf); #else ptm = localtime(&(entry->tv_sec)); Loading