termux-packages/packages/waypipe/src-util.c.patch

14 lines
451 B
Diff
Raw Normal View History

2022-03-28 22:42:09 +02:00
--- a/src/util.c
+++ b/src/util.c
@@ -255,8 +255,8 @@
i, i);
} else {
link[len] = '\0';
- if (!strcmp(link, "/var/lib/sss/mc/passwd")) {
- wp_debug("Known issue, leaked fd %d to /var/lib/sss/mc/passwd",
+ if (!strcmp(link, "@TERMUX_PREFIX@/var/lib/sss/mc/passwd")) {
+ wp_debug("Known issue, leaked fd %d to @TERMUX_PREFIX@/var/lib/sss/mc/passwd",
i);
} else {
wp_error("Unexpected open fd %d: %s", i,