patch: **** malformed patch at line 10
正确没改动的文件如下:
--- strace-4.5.16-orig/syscall.c 2005-06-08 21:45:28.000000000+0100
+++ strace-4.5.16/syscall.c 2005-10-25 19:26:39.000000000+0100
@@ -1045,6 +1045,15 @@ struct tcb *tcp;
<span style="color:#00cccc;BACKGROUND-COLOR: #ffffff"> /*
* Note: we only deal with only 32-bit CPUs here.
*/
</span><span style="color:#ff0000;BACKGROUND-COLOR: #ffffff">+
+ if(!(tcp->flags& TCB_INSYSCALL)&&
+ (tcp->flags& TCB_WAITEXECVE)){
+ /* caught a fake syscall from the execve's exit */
+ tcp->flags&= ~TCB_WAITEXECVE;
+ return 0;
+ }
+
+
</span><span style