diff options
author | mmason <mmason> | 2007-06-06 03:49:53 +0000 |
---|---|---|
committer | mmason <mmason> | 2007-06-06 03:49:53 +0000 |
commit | 19765587f35b795d9a4e331261b2320fe79fbfe2 (patch) | |
tree | 92bceaf9af86b81ceb7c634342557c90c0895f56 | |
parent | e41b2484eaf36459eb9e80080c1ec3da277c9e36 (diff) | |
download | systemtap-steved-19765587f35b795d9a4e331261b2320fe79fbfe2.tar.gz systemtap-steved-19765587f35b795d9a4e331261b2320fe79fbfe2.tar.xz systemtap-steved-19765587f35b795d9a4e331261b2320fe79fbfe2.zip |
Removed workaround for negative 32-bit return values on 64-bit systems.
-rw-r--r-- | tapset/socket.stp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tapset/socket.stp b/tapset/socket.stp index aa30f09d..a661384b 100644 --- a/tapset/socket.stp +++ b/tapset/socket.stp @@ -1047,11 +1047,9 @@ probe begin(-1001) # INTERNAL FUNCTIONS # ###################### -# Hack to test for large number, required because of sign bit extension -# problem with 32-bit return values on 64-bit systems (PR 3331) function _success_check(ret:long) { - return (ret > 0 && ret < 2147483648 ? 1 : 0) + return (ret > 0 ? 1 : 0) } function _get_sock_addr:long (file:long) |