0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-07 20:10:04 +00:00
termux-packages/packages/waypipe/waypipe-c-util.c.patch
Biswapriyo Nath 03fa1a3c0f bump(main/waypipe): 0.10.0
* Build waypipe with C language for now. Rust waypipe needs testing.

* Rebase patches after C source files were moved in waypipe-c dir.
  a605a8ddb2

* Remove src-secctx.c.patch file which was added in upstream.
  eccbb5cbf1
2025-01-08 15:58:22 +05:30

14 lines
463 B
Diff

--- a/waypipe-c/util.c
+++ b/waypipe-c/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,