]> granicus.if.org Git - strace/commit
Remove dead "ifndef CLONE_PTRACE" branch
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 23 Jun 2011 20:06:39 +0000 (22:06 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 23 Jun 2011 20:06:39 +0000 (22:06 +0200)
commit47247865eb108e5f5c9cb1f0c3f40fd97cdb0978
tree8acbae65c9738b90e1ffe6a315a6432fdd31ba99
parent91ecfac9b61691c0ba2d878c5398c6db52c7624e
Remove dead "ifndef CLONE_PTRACE" branch

process.c defines CLONE_PTRACE for Linux, so it can't be undefined.
Therefore ifndef CLONE_PTRACE code is dead (since at least 2004).
This patch removes it.

* process.c (handle_new_child): Remove ifdef CLONE_PTRACE/endif (but not
  the code inside) and entire ifndef CLONE_PTRACE/endif block.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
process.c