Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1910)

Unified Diff: base/string_util_posix.h

Issue 8544003: disable GetAppOutputRestrictedSIGPIPE and enable ::vswprintf on OpenBSD (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util_posix.h
diff --git a/base/string_util_posix.h b/base/string_util_posix.h
index 145d7674c6dbf3ef71c6eb0b1fa61314024f80a3..92ef1c22ff4adcaa65288762df4c7944b630f7be 100644
--- a/base/string_util_posix.h
+++ b/base/string_util_posix.h
@@ -45,15 +45,8 @@ inline int strncmp16(const char16* s1, const char16* s2, size_t count) {
inline int vswprintf(wchar_t* buffer, size_t size,
const wchar_t* format, va_list arguments) {
-#if defined(OS_OPENBSD)
- // TODO(phajdan.jr): There is a patch to add vswprintf to OpenBSD,
- // http://marc.info/?l=openbsd-tech&m=130003157729839&w=2
- NOTIMPLEMENTED();
- return -1;
-#else
DCHECK(IsWprintfFormatPortable(format));
return ::vswprintf(buffer, size, format, arguments);
-#endif
}
} // namespace base
« no previous file with comments | « base/process_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698