diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-10-31 16:33:17 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-10-31 16:33:17 +0000 |
commit | dc750f2e2552556d058aca8bac0a882290acbc05 (patch) | |
tree | a068555e2e2a31ebe387b7dfb26b0e31262f182d /config_h.SH | |
parent | 6234cb77344e822f4c34885de4971401d9a78b0b (diff) | |
download | perl-dc750f2e2552556d058aca8bac0a882290acbc05.tar.gz |
The next step in strlcat ()/ strcpy () detection and usage
preparation. Change to handy.h eeded for config_h.SH
p4raw-id: //depot/perl@23450
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/config_h.SH b/config_h.SH index 193e0246ff..472b5d4090 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2519,6 +2519,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #$d_strerror_r HAS_STRERROR_R /**/ #define STRERROR_R_PROTO $strerror_r_proto /**/ +/* HAS_STRLCAT: + * This symbol, if defined, indicates that the strlcat () routine is + * available to do string concatenation. + */ +#$d_strlcat HAS_STRLCAT /**/ + +/* HAS_STRLCPY: + * This symbol, if defined, indicates that the strlcpy () routine is + * available to do string copying. + */ +#$d_strlcpy HAS_STRLCPY /**/ + /* HAS_STRTOLD: * This symbol, if defined, indicates that the strtold routine is * available to convert strings to long doubles. @@ -3059,7 +3071,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* PERL_MALLOC_WRAP: * This symbol, if defined, indicates that we'd like malloc wrap checks. */ -#$usemallocwrap PERL_MALLOC_WRAP /**/ +#$usemallocwrap PERL_MALLOC_WRAP /**/ /* MYMALLOC: * This symbol, if defined, indicates that we're using our own malloc. @@ -3932,18 +3944,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_strftime HAS_STRFTIME /**/ -/* HAS_STRLCAT - * This symbol, if defined, indicates that the strlcat routine is - * available to do string concatenation. - */ -#$d_strlcat HAS_STRLCAT /**/ - -/* HAS_STRLCPY: - * This symbol, if defined, indicates that the strlcpy routine is - * available to do string copying. - */ -#$d_strlcpy HAS_STRLCPY /**/ - /* HAS_SYSCALL_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the syscall() function. Otherwise, it is up |