summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
authormmason <mmason>2007-06-06 03:49:53 +0000
committermmason <mmason>2007-06-06 03:49:53 +0000
commit19765587f35b795d9a4e331261b2320fe79fbfe2 (patch)
tree92bceaf9af86b81ceb7c634342557c90c0895f56 /tapset
parente41b2484eaf36459eb9e80080c1ec3da277c9e36 (diff)
downloadsystemtap-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.
Diffstat (limited to 'tapset')
-rw-r--r--tapset/socket.stp4
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)