nixpkgs/pkgs/os-specific/linux/dmtcp/ld-linux-so-buffer-size.patch
Maximilian Bosch d3a7d11e5c
dmtcp: 2.6.0 -> unstable-2021-03-01
Fixes build for glibc-2.33. The upstream patches don't really apply
after 600 different changes so it makes sense to bump the package now.
2021-07-06 16:02:35 +02:00

14 lines
425 B
Diff

diff --git a/src/util_exec.cpp b/src/util_exec.cpp
index 0e8a13c1..0cc99c1e 100644
--- a/src/util_exec.cpp
+++ b/src/util_exec.cpp
@@ -300,7 +300,7 @@ Util::elfType(const char *pathname, bool *isElf, bool *is32bitElf)
static string
ld_linux_so_path(int version, bool is32bitElf = false)
{
- char buf[80];
+ char buf[128];
#if (defined(__x86_64__) || defined(__aarch64__)) && !defined(CONFIG_M32)
if (is32bitElf) {