0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 16:52:16 +00:00
termux-packages/packages/swtpm/src-swtpm_setup-swtpm.c.patch
Biswapriyo Nath 19b3e040c1 bump(main/swtpm): 0.10.0
Remove unnecessary installed tests explicitly.
2024-11-16 11:17:10 +05:30

12 lines
359 B
Diff

--- a/src/swtpm_setup/swtpm.c
+++ b/src/swtpm_setup/swtpm.c
@@ -92,7 +92,7 @@
int pidfile_fd;
int ret = 1;
gchar *tmp;
- char pidfile[] = "/tmp/.swtpm_setup.pidfile.XXXXXX";
+ char pidfile[] = "@TERMUX_PREFIX@/tmp/.swtpm_setup.pidfile.XXXXXX";
pidfile_fd = g_mkstemp_full(pidfile, O_EXCL|O_CREAT, 0600);
if (pidfile_fd < 0) {