platform_system_core/base
Spencer Low bdab59a861 libbase: logging fixes
Win32:

- getprogname(): call basename() which is available in mingw's crt.
  Don't potentially go recursive with DCHECK_GT().

- Use Win32 critical section instead of mutex.

Other:

- Change log_characters check to compile-time.

- Fix code that gets the basename of __FILE__. The previous code was not
  setting _file, so it didn't work.

- Save and restore errno for LOG calls. Inspired by similar Chromium code.

Change-Id: Ie7bb700918be726fa81d60177d1894d2daeff296
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-08-13 14:08:31 -07:00
..
include/base libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00
.clang-format Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
Android.mk Write mkdirs in more idiomatic C++ style. 2015-07-30 15:08:53 -07:00
CPPLINT.cfg Don't show lint errors for rvalue references. 2015-04-02 18:38:01 -07:00
file.cpp Don't use TEMP_FAILURE_RETRY on close() 2015-05-20 09:02:29 -07:00
file_test.cpp win32: adb_test/libbase_test fixes 2015-08-06 18:09:32 -07:00
logging.cpp libbase: logging fixes 2015-08-13 14:08:31 -07:00
logging_test.cpp libbase: logging fixes 2015-08-13 14:08:31 -07:00
stringprintf.cpp Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
stringprintf_test.cpp libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00
strings.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
strings_test.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
test_main.cpp Support base::logging on Windows. 2015-04-29 18:01:53 -07:00
test_utils.cpp libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00