summaryrefslogtreecommitdiff
path: root/Porting/Glossary
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-11-18 18:07:23 +0000
committerAaron Crane <arc@cpan.org>2017-11-18 18:29:51 +0000
commit4059ba8734da3986285ad50019afbd56b586ad25 (patch)
tree72f2d7f4f78af14973ad71527d7d1aef141f00ff /Porting/Glossary
parentbd1f84ac544f5604940057502e2035f39c92bd4e (diff)
downloadperl-4059ba8734da3986285ad50019afbd56b586ad25.tar.gz
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
Diffstat (limited to 'Porting/Glossary')
-rw-r--r--Porting/Glossary10
1 files changed, 10 insertions, 0 deletions
diff --git a/Porting/Glossary b/Porting/Glossary
index 0a78722725..041cdf039c 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -2456,6 +2456,11 @@ d_sitearch (sitearch.U):
of architecture-dependent library files for $package. If
$sitearch is the same as $archlib, then this is set to undef.
+d_snprintf (d_snprintf.U):
+ This variable conditionally defines the HAS_SNPRINTF symbol, which
+ indicates to the C program that the snprintf () library function
+ is available.
+
d_sockaddr_in6 (d_socket.U):
This variable conditionally defines the HAS_SOCKADDR_IN6 symbol, which
indicates the availability of a struct sockaddr_in6.
@@ -2851,6 +2856,11 @@ d_voidtty (i_sysioctl.U):
Otherwise (on USG probably), it is enough to close the standard file
descriptors and do a setpgrp().
+d_vsnprintf (d_snprintf.U):
+ This variable conditionally defines the HAS_VSNPRINTF symbol, which
+ indicates to the C program that the vsnprintf () library function
+ is available.
+
d_wait4 (d_wait4.U):
This variable conditionally defines the HAS_WAIT4 symbol, which
indicates the wait4() routine is available.