conan-recipes/recipes/breakpad/all/patches/0023-Enable-minimalist-build-signatures.patch
2020-10-19 07:52:36 +10:00

29 lines
939 B
Diff

From d717a0f9175d15c26e9d4e7cd1f6b77fd114a1f1 Mon Sep 17 00:00:00 2001
From: Danny Robson <danny@nerdcruft.net>
Date: Thu, 31 Oct 2019 10:45:14 +1100
Subject: [PATCH 4/7] Enable minimalist build signatures
Any minimisation of signature collisions makes managing collections of
symbol files substantially easier. The default of '0' is unworkable when
actually deployed.
---
src/common/pecoff/pecoff_file_id.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/pecoff/pecoff_file_id.cc b/src/common/pecoff/pecoff_file_id.cc
index 04563c86..a8a9c2f5 100644
--- a/src/common/pecoff/pecoff_file_id.cc
+++ b/src/common/pecoff/pecoff_file_id.cc
@@ -74,7 +74,7 @@ bool PeCoffFileID::PeCoffFileIdentifierFromMappedFile(const void* base,
age))
return true;
-#if 1
+#if 0
// XXX: Fallback to a default debug_identifier.
memset(identifier, 0, kMDGUIDSize);
*age = 0;
--
2.28.0