termux-packages/packages/uftrace/cmds-live.c.patch
2019-08-28 15:17:34 +03:00

11 lines
319 B
Diff

+++ ./cmds/live.c 2019-08-26 14:48:20.538152232 +0300
@@ -97,7 +97,7 @@
int command_live(int argc, char *argv[], struct opts *opts)
{
- char template[32] = "/tmp/uftrace-live-XXXXXX";
+ char template[128] = "@TERMUX_PREFIX@/tmp/uftrace-live-XXXXXX";
int fd;
struct sigaction sa = {
.sa_flags = SA_RESETHAND,