diff options
-rwxr-xr-x | Configure | 26 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 1 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux-n770 | 1 | ||||
-rw-r--r-- | NetWare/config.wc | 1 | ||||
-rw-r--r-- | NetWare/config_H.wc | 7 | ||||
-rw-r--r-- | Porting/Glossary | 5 | ||||
-rw-r--r-- | Porting/config.sh | 1 | ||||
-rw-r--r-- | Porting/config_H | 7 | ||||
-rwxr-xr-x | config_h.SH | 7 | ||||
-rw-r--r-- | configure.com | 1 | ||||
-rw-r--r-- | handy.h | 4 | ||||
-rw-r--r-- | plan9/config.plan9 | 7 | ||||
-rw-r--r-- | plan9/config_h.sample | 7 | ||||
-rw-r--r-- | plan9/config_sh.sample | 1 | ||||
-rw-r--r-- | symbian/config.sh | 1 | ||||
-rw-r--r-- | uconfig.h | 11 | ||||
-rw-r--r-- | uconfig.sh | 1 | ||||
-rw-r--r-- | uconfig64.sh | 1 | ||||
-rw-r--r-- | win32/config.ce | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 | ||||
-rw-r--r-- | win32/config_H.ce | 7 | ||||
-rw-r--r-- | win32/config_H.gc | 7 | ||||
-rw-r--r-- | win32/config_H.vc | 7 |
24 files changed, 2 insertions, 112 deletions
@@ -874,7 +874,6 @@ stdio_ptr='' d_index='' d_strchr='' d_strcoll='' -d_strctcpy='' d_strerrm='' d_strerror='' d_sysernlst='' @@ -19531,30 +19530,6 @@ esac set strcoll d_strcoll eval $inlibc -: check for structure copying -echo " " -echo "Checking to see if your C compiler can copy structs..." >&4 -$cat >try.c <<'EOCP' -int main() -{ - struct blurfl { - int dyick; - } foo, bar; - - foo = bar; -} -EOCP -if $cc -c try.c >/dev/null 2>&1 ; then - val="$define" - echo "Yup, it can." -else - val="$undef" - echo "Nope, it can't." -fi -set d_strctcpy -eval $setvar -$rm_try - : see if strerror and/or sys_errlist[] exist echo " " if test "X$d_strerror" = X -o "X$d_syserrlst" = X; then @@ -25168,7 +25143,6 @@ d_stdiobase='$d_stdiobase' d_stdstdio='$d_stdstdio' d_strchr='$d_strchr' d_strcoll='$d_strcoll' -d_strctcpy='$d_strctcpy' d_strerrm='$d_strerrm' d_strerror='$d_strerror' d_strerror_l='$d_strerror_l' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index 698de25667..8f7052c23e 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -572,7 +572,6 @@ d_stdiobase='define' d_stdstdio='define' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770 index 931b4f1b3f..2d85400b72 100644 --- a/Cross/config.sh-arm-linux-n770 +++ b/Cross/config.sh-arm-linux-n770 @@ -453,7 +453,6 @@ d_stdiobase='define' d_stdstdio='define' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_r='undef' diff --git a/NetWare/config.wc b/NetWare/config.wc index 4444f034e7..ff15e1f697 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -562,7 +562,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc index 1b9015169b..663c8d258f 100644 --- a/NetWare/config_H.wc +++ b/NetWare/config_H.wc @@ -563,13 +563,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/Porting/Glossary b/Porting/Glossary index 58e06e7408..9c5db81bd7 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -2632,11 +2632,6 @@ d_strcoll (d_strcoll.U): This variable conditionally defines HAS_STRCOLL if strcoll() is available to compare strings using collating information. -d_strctcpy (d_strctcpy.U): - This variable conditionally defines the USE_STRUCT_COPY symbol, which - indicates to the C program that this C compiler knows how to copy - structures. - d_strerrm (d_strerror.U): This variable holds what Strerror is defined as to translate an error code condition into an error message string. It could be 'strerror' diff --git a/Porting/config.sh b/Porting/config.sh index e526c8b046..345af9a2b8 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -585,7 +585,6 @@ d_stdiobase='define' d_stdstdio='define' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/Porting/config_H b/Porting/config_H index 66ec8352dc..4075bb0cbe 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -2755,13 +2755,6 @@ #define USE_STAT_BLOCKS /**/ #endif -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRERROR: * This symbol, if defined, indicates that the strerror routine is * available to translate error numbers to strings. See the writeup diff --git a/config_h.SH b/config_h.SH index 3e45a9b6d7..d9d5983b3a 100755 --- a/config_h.SH +++ b/config_h.SH @@ -583,13 +583,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_strcoll HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#$d_strctcpy USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/configure.com b/configure.com index 7ad5cfa840..e0f7638477 100644 --- a/configure.com +++ b/configure.com @@ -6416,7 +6416,6 @@ $ WC "d_faststdio='" + d_faststdio + "'" $ WC "d_statvfs='" + d_statvfs + "'" $ WC "d_strchr='define'" $ WC "d_strcoll='" + d_strcoll + "'" -$ WC "d_strctcpy='define'" $ WC "d_strerrm='strerror((e),vaxc$errno)'" $ WC "d_strerror='define'" $ WC "d_strftime='define'" @@ -2436,11 +2436,7 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe # define PERL_POISON_EXPR(x) #endif -#ifdef USE_STRUCT_COPY #define StructCopy(s,d,t) (*((t*)(d)) = *((t*)(s))) -#else -#define StructCopy(s,d,t) Copy(s,d,1,t) -#endif /* C_ARRAY_LENGTH is the number of elements in the C array (so you * want your zero-based indices to be less than but not equal to). diff --git a/plan9/config.plan9 b/plan9/config.plan9 index 3c26d2b355..b32fa84335 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -573,13 +573,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/plan9/config_h.sample b/plan9/config_h.sample index d88498430c..d7342cfc23 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -531,13 +531,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 8ee953cd20..003dfc95b6 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -572,7 +572,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/symbian/config.sh b/symbian/config.sh index 4852141ad4..a670160f41 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -520,7 +520,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='define' d_strcoll='undef' -d_strctcpy='undef' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' @@ -548,13 +548,6 @@ */ /*#define HAS_STRCOLL / **/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -/*#define USE_STRUCT_COPY / **/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). @@ -5446,6 +5439,6 @@ #endif /* Generated from: - * 8bcb3af139b8925875e1a7668bd8c60e79e7c500716150ca1796b1f4c5a70d28 config_h.SH - * 87ef7239e9f1bcc49ca2154767871e12218452256a40624296ecdc662311bd91 uconfig.sh + * 292f88691798392c51314921d1a53aca1044ccfd5410c0338c659f8ec2a6eab5 config_h.SH + * 2cd0f319cf0414d19be815afda24bae1eb0bde6e3d6f3bb2ca79bc4775549ac2 uconfig.sh * ex: set ro: */ diff --git a/uconfig.sh b/uconfig.sh index 72ab75daaa..2fe61e1e8a 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -511,7 +511,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='undef' d_strcoll='undef' -d_strctcpy='undef' d_strerrm='strerror(e)' d_strerror='undef' d_strerror_l='undef' diff --git a/uconfig64.sh b/uconfig64.sh index 238a419011..670306f22f 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -512,7 +512,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='undef' d_strcoll='undef' -d_strctcpy='undef' d_strerrm='strerror(e)' d_strerror='undef' d_strerror_l='undef' diff --git a/win32/config.ce b/win32/config.ce index ae3212d8bf..5200ce6655 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -560,7 +560,6 @@ d_stdiobase='undef' d_stdstdio='undef' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/win32/config.gc b/win32/config.gc index 3c6f99a39c..f01b0ae3a8 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -560,7 +560,6 @@ d_stdiobase='define' d_stdstdio='define' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/win32/config.vc b/win32/config.vc index f165d25226..394caa0704 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -560,7 +560,6 @@ d_stdiobase='define' d_stdstdio='define' d_strchr='define' d_strcoll='define' -d_strctcpy='define' d_strerrm='strerror(e)' d_strerror='define' d_strerror_l='undef' diff --git a/win32/config_H.ce b/win32/config_H.ce index 6f368ad270..40d6f9290b 100644 --- a/win32/config_H.ce +++ b/win32/config_H.ce @@ -513,13 +513,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/win32/config_H.gc b/win32/config_H.gc index 3e3cd49723..9fe3e369a6 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -536,13 +536,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). diff --git a/win32/config_H.vc b/win32/config_H.vc index 77f01778a7..c105905e9a 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -536,13 +536,6 @@ */ #define HAS_STRCOLL /**/ -/* USE_STRUCT_COPY: - * This symbol, if defined, indicates that this C compiler knows how - * to copy structures. If undefined, you'll need to use a block copy - * routine of some sort instead. - */ -#define USE_STRUCT_COPY /**/ - /* HAS_STRTOD: * This symbol, if defined, indicates that the strtod routine is * available to provide better numeric string conversion than atof(). |