X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/19e194ad5a0b332a85659fe3309d0a3b36eef904..e4038a1fb4fdfabe2578d9a8ffe81a18bec6013d:/t/lib/ipc_sysv.t diff --git a/t/lib/ipc_sysv.t b/t/lib/ipc_sysv.t index 55d9ba1..8485d5d 100755 --- a/t/lib/ipc_sysv.t +++ b/t/lib/ipc_sysv.t @@ -81,16 +81,9 @@ if ($Config{'d_msgget'} eq 'define' && my $test5bad; my $test6bad; - if ($Config{'use64bitall'} eq 'define') { - unless (msgsnd($msg,pack("L L a*",0,$msgtype,$msgtext),IPC_NOWAIT)) { + unless (msgsnd($msg,pack("L! a*",$msgtype,$msgtext),IPC_NOWAIT)) { print "not "; $test2bad = 1; - } - } else { - unless (msgsnd($msg,pack("L a*",$msgtype,$msgtext),IPC_NOWAIT)) { - print "not "; - $test2bad = 1; - } } print "ok 2\n"; if ($test2bad) { @@ -135,11 +128,7 @@ EOM } my($rmsgtype,$rmsgtext); - if ($Config{'use64bitall'} eq 'define') { - (undef,$rmsgtype,$rmsgtext) = unpack("L L a*",$msgbuf) - } else { - ($rmsgtype,$rmsgtext) = unpack("L a*",$msgbuf) - } + ($rmsgtype,$rmsgtext) = unpack("L! a*",$msgbuf) unless($rmsgtype == $msgtype && $rmsgtext eq $msgtext) { print "not "; $test6bad = 1;