From 19765587f35b795d9a4e331261b2320fe79fbfe2 Mon Sep 17 00:00:00 2001 From: mmason Date: Wed, 6 Jun 2007 03:49:53 +0000 Subject: Removed workaround for negative 32-bit return values on 64-bit systems. --- tapset/socket.stp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tapset/socket.stp') 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) -- cgit