This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore ability to build on platforms without snprintf()
authorAaron Crane <arc@cpan.org>
Sat, 18 Nov 2017 18:07:23 +0000 (18:07 +0000)
committerAaron Crane <arc@cpan.org>
Sat, 18 Nov 2017 18:29:51 +0000 (18:29 +0000)
commit4059ba8734da3986285ad50019afbd56b586ad25
tree72f2d7f4f78af14973ad71527d7d1aef141f00ff
parentbd1f84ac544f5604940057502e2035f39c92bd4e
Restore ability to build on platforms without snprintf()

C89 does not in fact define snprintf() or vsnprintf(), and we must therefore
probe for the existence of those functions before trying to use them.

khw++ for pointing out my earlier error.

This reverts part or all of each of the following commits:

13d66b05c6163c3514774d3d11da5f3950e97e98 Rely on C89 vsnprintf()
e791399041815a1a45cea3c7f277c7045b96e51b Rely on C89 snprintf()
adf7d503e55721c500f0bf66560b8f5df7966fe7 pod/perlhacktips.pod: remove some outdated portability notes
21 files changed:
Configure
Cross/config.sh-arm-linux
Cross/config.sh-arm-linux-n770
NetWare/config.wc
Porting/Glossary
Porting/config.sh
Porting/config_H
config_h.SH
configure.com
perl.h
plan9/config_sh.sample
pod/perlhacktips.pod
symbian/config.sh
uconfig.h
uconfig.sh
uconfig64.sh
util.c
win32/config.ce
win32/config.vc
win32/config_H.gc
win32/config_H.vc