This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorNicholas Clark <nick@ccl4.org>
Thu, 11 May 2006 10:36:47 +0000 (10:36 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 11 May 2006 10:36:47 +0000 (10:36 +0000)
commit377243219089fca10a12fb0bd3f960d785ad8517
tree65e84304ce72572f8263d61037e7e5bc08b2c21f
parent057b822e199c9b3e5b70c7db71bef6eadd4b818f
Integrate:
[ 25832]
Add my_sprintf, which is usually just a macro for sprintf, for those
places where we want to use the return value of sprintf. This allows
a wrapper to be used for platforms where the C library isn't ANSI-
conformant.

[ 25841]
Replace all the strlen()s related to PL_pidstatus with the return
value of my_sprintf

[ 25862]
Use the return value from sprintf and avoid a call to strlen

[ 26001]
Use the return value from sprintf().

[ 26006]
s/printf/my_printf/ because we're using the return value.
My mistake spotted by Gisle.
p4raw-link: @26006 on //depot/perl: e5105eda9ec104fa4cd12906af09da2e3a0c3386
p4raw-link: @26001 on //depot/perl: 86c11942206ec09dd2a486bb22552aa2f170e322
p4raw-link: @25862 on //depot/perl: 4150c1890ffe73fc298ab9944c3d80e0d6511038
p4raw-link: @25841 on //depot/perl: 7ea75b6170327bc14c03f69e90eb8c7d3cb91382
p4raw-link: @25832 on //depot/perl: ce582ceece605be1a68752611f28e5b1a8e80455

p4raw-id: //depot/maint-5.8/perl@28158
p4raw-integrated: from //depot/perl@26006 'edit in' regcomp.c
(@26001..)
p4raw-integrated: from //depot/perl@26001 'copy in' taint.c (@24965..)
'ignore' universal.c (@25915..)
p4raw-integrated: from //depot/perl@25862 'merge in' sv.c (@25850..)
p4raw-integrated: from //depot/perl@25841 'edit in' util.c (@25832..)
p4raw-integrated: from //depot/perl@25832 'merge in' makedef.pl
(@25749..) embed.h global.sym (@25808..) perl.h (@25810..)
embed.fnc proto.h (@25822..)
embed.fnc
embed.h
global.sym
makedef.pl
perl.h
proto.h
regcomp.c
sv.c
taint.c
util.c