From: Nicholas Clark Date: Thu, 14 Mar 2002 22:24:19 +0000 (+0000) Subject: d_nv_preserves_uv_bits X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=53133ed1c5068175ce48d34c24e23b1aa3a97766;p=p5sagit%2Fp5-mst-13.2.git d_nv_preserves_uv_bits Message-ID: <20020314222419.GE363@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15290 --- diff --git a/Configure b/Configure index 6ba787f..9678a6e 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sat Mar 16 21:39:24 EET 2002 [metaconfig 3.0 PL70] +# Generated on Mon Mar 18 16:52:30 EET 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <&1 + nv_preserves_uv_bits=`expr 0 - $nv_preserves_uv_bits` + $echo "Your NVs can preserve all $nv_preserves_uv_bits bits of your UVs." 2>&1 d_nv_preserves_uv="$define" ;; -[1-9]*) $echo "Your NVs can preserve only $d_nv_preserves_uv_bits bits of your UVs." 2>&1 +[1-9]*) $echo "Your NVs can preserve only $nv_preserves_uv_bits bits of your UVs." 2>&1 d_nv_preserves_uv="$undef" ;; *) $echo "Can't figure out how many bits your NVs preserve." 2>&1 - d_nv_preserves_uv_bits="$undef" ;; + nv_preserves_uv_bits="$undef" ;; esac $rm -f try.* try @@ -19737,7 +19737,6 @@ d_mymalloc='$d_mymalloc' d_nice='$d_nice' d_nl_langinfo='$d_nl_langinfo' d_nv_preserves_uv='$d_nv_preserves_uv' -d_nv_preserves_uv_bits='$d_nv_preserves_uv_bits' d_off64_t='$d_off64_t' d_old_pthread_create_joinable='$d_old_pthread_create_joinable' d_oldpthreads='$d_oldpthreads' @@ -20180,6 +20179,7 @@ nroff='$nroff' nvEUformat='$nvEUformat' nvFUformat='$nvFUformat' nvGUformat='$nvGUformat' +nv_preserves_uv_bits='$nv_preserves_uv_bits' nveformat='$nveformat' nvfformat='$nvfformat' nvgformat='$nvgformat' diff --git a/Porting/Glossary b/Porting/Glossary index f8f5470..a9b86e2 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -1315,7 +1315,7 @@ d_nv_preserves_uv (perlxv.U): This variable indicates whether a variable of type nvtype can preserve all the bits a variable of type uvtype. -d_nv_preserves_uv_bits (perlxv.U): +nv_preserves_uv_bits (perlxv.U): This variable indicates how many of bits type uvtype a variable nvtype can preserve. diff --git a/Porting/config.sh b/Porting/config.sh index a504dce..416c87b 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -308,7 +308,7 @@ d_mymalloc='undef' d_nice='define' d_nl_langinfo='define' d_nv_preserves_uv='undef' -d_nv_preserves_uv_bits='53' +nv_preserves_uv_bits='53' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/config_h.SH b/config_h.SH index a65ebb2..b788f09 100644 --- a/config_h.SH +++ b/config_h.SH @@ -3168,7 +3168,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #endif #define NVSIZE $nvsize /**/ #$d_nv_preserves_uv NV_PRESERVES_UV -#define NV_PRESERVES_UV_BITS $d_nv_preserves_uv_bits +#define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits /* IVdf: * This symbol defines the format string used for printing a Perl IV diff --git a/configure.com b/configure.com index 553d79a..249f6e7 100644 --- a/configure.com +++ b/configure.com @@ -4916,7 +4916,7 @@ $ IF tmp .EQS. "preserve" $ THEN $ d_nv_preserves_uv = "define" $ echo "Yes, they can." -$ d_nv_preserves_uv_bits = F$STRING(F$INTEGER(uvsize) * 8) +$ nv_preserves_uv_bits = F$STRING(F$INTEGER(uvsize) * 8) $ ELSE $ d_nv_preserves_uv = "undef" $ echo "No, they can't." @@ -4940,7 +4940,7 @@ $ WS " exit(0);" $ WS "}" $ CS $ GOSUB compile -$ d_nv_preserves_uv_bits = tmp +$ nv_preserves_uv_bits = tmp $ ENDIF $! $ echo4 "Checking whether your kill() uses SYS$FORCEX..." @@ -5275,7 +5275,7 @@ $ WC "d_mymalloc='" + d_mymalloc + "'" $ WC "d_nice='define'" $ WC "d_nl_langinfo='" + d_nl_langinfo + "'" $ WC "d_nv_preserves_uv='" + d_nv_preserves_uv + "'" -$ WC "d_nv_preserves_uv_bits='" + d_nv_preserves_uv_bits + "'" +$ WC "nv_preserves_uv_bits='" + nv_preserves_uv_bits + "'" $ WC "d_off64_t='" + d_off64_t + "'" $ WC "d_old_pthread_create_joinable='" + d_old_pthread_create_joinable + "'" $ WC "d_oldarchlib='define'" diff --git a/epoc/config.sh b/epoc/config.sh index ad19c35..fad379c 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -949,7 +949,7 @@ d_strtold='undef' d_strtoll='undef' d_strtouq='undef' d_nv_preserves_uv='define' -d_nv_preserves_uv_bits='32' +nv_preserves_uv_bits='32' use5005threads='undef' useithreads='undef' inc_version_list=' ' diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 94c2207..dcc9907 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -10416,7 +10416,7 @@ C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, -C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, diff --git a/t/op/pack.t b/t/op/pack.t index 20fdb37..42be19e 100755 --- a/t/op/pack.t +++ b/t/op/pack.t @@ -336,7 +336,7 @@ sub numbers_with_total { # UVs (in which case ~0 is NV, ~0-1 will be the same NV) then we can't # correctly in perl calculate UV totals for long checksums, as pp_unpack # is using UV maths, and we've only got NVs. - $skip_if_longer_than = $Config{d_nv_preserves_uv_bits}; + $skip_if_longer_than = $Config{nv_preserves_uv_bits}; } foreach ('', 1, 2, 3, 15, 16, 17, 31, 32, 33, 53, 54, 63, 64, 65) { diff --git a/uconfig.sh b/uconfig.sh index 78e405c..4fedcfc 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -239,7 +239,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='undef' -d_nv_preserves_uv_bits='0' +nv_preserves_uv_bits='0' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/vos/config.alpha.def b/vos/config.alpha.def index 3131ce7..0425ba4 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -219,7 +219,7 @@ $d_mymalloc='undef' $d_nice='undef' $d_nl_langinfo='undef' $d_nv_preserves_uv='define' -$d_nv_preserves_uv_bits='32' +$nv_preserves_uv_bits='32' $d_off64_t='undef' $d_old_pthread_create_joinable='undef' $d_oldpthreads='undef' diff --git a/vos/config.ga.def b/vos/config.ga.def index eb1c703..9819370 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -219,7 +219,7 @@ $d_mymalloc='undef' $d_nice='undef' $d_nl_langinfo='undef' $d_nv_preserves_uv='define' -$d_nv_preserves_uv_bits='32' +$nv_preserves_uv_bits='32' $d_off64_t='undef' $d_old_pthread_create_joinable='undef' $d_oldpthreads='undef' diff --git a/win32/config.bc b/win32/config.bc index c0cd79b..69cb885 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -292,7 +292,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' -d_nv_preserves_uv_bits='32' +nv_preserves_uv_bits='32' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.gc b/win32/config.gc index d0be63b..5597d8e 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -354,7 +354,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' -d_nv_preserves_uv_bits='32' +nv_preserves_uv_bits='32' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.vc b/win32/config.vc index 1ac9ab7..3eb41e6 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -292,7 +292,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' -d_nv_preserves_uv_bits='32' +nv_preserves_uv_bits='32' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.win64 b/win32/config.win64 index 9e37008..91cbfdb 100644 --- a/win32/config.win64 +++ b/win32/config.win64 @@ -248,7 +248,7 @@ d_munmap='undef' d_mymalloc='undef' d_nice='undef' d_nv_preserves_uv='define' -d_nv_preserves_uv_bits='64' +nv_preserves_uv_bits='64' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef'