summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-09-17 19:36:10 -0700
committerYabin Cui <yabinc@google.com>2015-09-21 12:46:12 -0700
commit765ae6bcfc62148de629f68315fdf8cd1bc35342 (patch)
treeec7dcc3e0bfd272d5c2a4207e12703995206888c /base/errors_unix.cpp
parent94c617ccbba4db673a6c4cc682927e630a8feaf0 (diff)
base logging: fix errno restoring, severity conditionality, dangling ifs
Fix LOG() to properly save and restore errno. Test this properly. Only do logging if severity is >= the minimum. Fix dangling if statements in CHECK(), CHECK_STR{EQ,NE}(). Test this properly. Fix base logging tests on Windows. All libbase_tests now pass on Windows. Change place to lock, so the lock can protect logging of all data in LogMessage. Change-Id: I7ff531c67ae10a99ef0a2bbfe279aa77282d5ae9 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions