nodejs: Update from 6.7.0 to 6.8.0
[termux-packages] / packages / strace / strace.c.patch
CommitLineData
59f0d218
FF
1diff -u -r ../strace-4.8/strace.c ./strace.c
2--- ../strace-4.8/strace.c 2013-05-28 23:49:16.000000000 +0200
3+++ ./strace.c 2013-12-30 16:05:39.000000000 +0100
4@@ -540,7 +540,7 @@
5 tprints(const char *str)
6 {
7 if (current_tcp) {
8- int n = fputs_unlocked(str, current_tcp->outf);
9+ int n = fputs(str, current_tcp->outf);
10 if (n >= 0) {
11 current_tcp->curcol += strlen(str);
12 return;
13@@ -917,7 +917,7 @@
14 struct tcb *cur_tcp;
15 int tid;
16
17- if (de->d_fileno == 0)
18+ if (de->d_ino == 0)
19 continue;
20 /* we trust /proc filesystem */
21 tid = atoi(de->d_name);