mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
18 lines
499 B
C++
18 lines
499 B
C++
--- base/strings/safe_sprintf_unittest.cc.orig 2025-03-18 16:46:04 UTC
|
|
+++ base/strings/safe_sprintf_unittest.cc
|
|
@@ -743,6 +743,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) {
|
|
#endif
|
|
}
|
|
|
|
+#if !BUILDFLAG(IS_BSD)
|
|
TEST(SafeSPrintfTest, EmitNULL) {
|
|
char buf[40];
|
|
#if defined(__GNUC__)
|
|
@@ -759,6 +760,7 @@ TEST(SafeSPrintfTest, EmitNULL) {
|
|
#pragma GCC diagnostic pop
|
|
#endif
|
|
}
|
|
+#endif
|
|
|
|
TEST(SafeSPrintfTest, PointerSize) {
|
|
// The internal data representation is a 64bit value, independent of the
|