This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
util.c handling of return value of vsnprintf
authorRobin Barker <rmbarker.cpan@btinternet.com>
Sun, 16 Jan 2011 21:41:29 +0000 (13:41 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Jan 2011 22:20:00 +0000 (14:20 -0800)
commit7dac5c648d8c8deacaae358a3f16334d2063161b
treea4b1d6294cb37c339618bae7f0b9226708358150
parent34c029c730b43da9f32a520b0550f9552493424d
util.c handling of return value of vsnprintf

At two points in util.c, there is code that use vsnprintf
if available, otherwise vsprintf.  The handling of the return
value does not reflect which function has been called.
The patch tries to improve this.
util.c