From 4e4b48faadecb81dc1bd50ada1024a82bb162366 Mon Sep 17 00:00:00 2001 From: Andy Getzendanner Date: Thu, 25 May 2023 07:09:59 -0700 Subject: Note that AsyncSignalSafeWriteToStderr preserves errno, and inline one use of it into a lambda. PiperOrigin-RevId: 535245982 Change-Id: I816f60c8b6476536df6836500f01c9a3ad88ddd4 --- absl/base/internal/raw_logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/base') diff --git a/absl/base/internal/raw_logging.h b/absl/base/internal/raw_logging.h index e8765254..3f852d31 100644 --- a/absl/base/internal/raw_logging.h +++ b/absl/base/internal/raw_logging.h @@ -129,7 +129,7 @@ void RawLog(absl::LogSeverity severity, const char* file, int line, const char* format, ...) ABSL_PRINTF_ATTRIBUTE(4, 5); // Writes the provided buffer directly to stderr, in a signal-safe, low-level -// manner. +// manner. Preserves errno. void AsyncSignalSafeWriteToStderr(const char* s, size_t len); // compile-time function to get the "base" filename, that is, the part of -- cgit v1.2.3