strace: Update from 4.13 to 4.14
This commit is contained in:
parent
444a75c298
commit
d3dc1c5888
@ -1,7 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://sourceforge.net/projects/strace/
|
||||
TERMUX_PKG_DESCRIPTION="Debugging utility to monitor the system calls used by a program and all the signals it receives"
|
||||
TERMUX_PKG_VERSION=4.13
|
||||
TERMUX_PKG_VERSION=4.14
|
||||
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/strace/strace/${TERMUX_PKG_VERSION}/strace-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=5bed5110b243dce6864bedba269446c18c8c63f553cdd7fd4f808d89a764712f
|
||||
TERMUX_PKG_RM_AFTER_INSTALL=bin/strace-graph # This is a perl script
|
||||
|
||||
termux_step_pre_configure () {
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff -u -r ../strace-4.8/strace.c ./strace.c
|
||||
--- ../strace-4.8/strace.c 2013-05-28 23:49:16.000000000 +0200
|
||||
+++ ./strace.c 2013-12-30 16:05:39.000000000 +0100
|
||||
@@ -540,7 +540,7 @@
|
||||
tprints(const char *str)
|
||||
{
|
||||
if (current_tcp) {
|
||||
- int n = fputs_unlocked(str, current_tcp->outf);
|
||||
+ int n = fputs(str, current_tcp->outf);
|
||||
if (n >= 0) {
|
||||
current_tcp->curcol += strlen(str);
|
||||
return;
|
||||
@@ -917,7 +917,7 @@
|
||||
struct tcb *cur_tcp;
|
||||
int tid;
|
||||
|
||||
- if (de->d_fileno == 0)
|
||||
+ if (de->d_ino == 0)
|
||||
continue;
|
||||
/* we trust /proc filesystem */
|
||||
tid = atoi(de->d_name);
|
Loading…
Reference in New Issue
Block a user