Fix for Nathan's fix (#3920) from Guy Decoux.
Nathan Torkington [Thu, 5 Aug 1999 21:25:47 +0000 (15:25 -0600)]
To: perl5-porters@perl.org
Subject: Bugfix for my bugfix
Message-ID: <14250.21947.765134.940583@localhost.frii.com>

p4raw-id: //depot/cfgperl@3927

ext/B/B/Assembler.pm

index 0735bae..6c51a9a 100644 (file)
@@ -52,7 +52,7 @@ sub B::Asmdata::PUT_U8 {
 sub B::Asmdata::PUT_U16 { pack("n", $_[0]) }
 sub B::Asmdata::PUT_U32 { pack("N", $_[0]) }
 sub B::Asmdata::PUT_I32 { pack("N", $_[0]) }
-sub B::Asmdata::PUT_NV  { pack("N", $_[0]) }
+sub B::Asmdata::PUT_NV  { sprintf("%lf\0", $_[0]) }
 sub B::Asmdata::PUT_objindex { pack("N", $_[0]) } # could allow names here
 sub B::Asmdata::PUT_svindex { &B::Asmdata::PUT_objindex }
 sub B::Asmdata::PUT_opindex { &B::Asmdata::PUT_objindex }