Fredrik Fornwall
8 years ago
2 changed files with 2 additions and 22 deletions
@ -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