From: Jan Dubois Date: Sat, 1 May 1999 22:55:36 +0000 (+0200) Subject: Win32 and VC++ 98 doesn't support CASTI X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2cdbc966996b991c40c8522dcf668b1e34b5e76b;p=p5sagit%2Fp5-mst-13.2.git Win32 and VC++ 98 doesn't support CASTI Message-ID: <373067e9.56194713@smtp1.ibm.net> p4raw-id: //depot/perl@3379 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4d25fef..d409319 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -290,8 +290,8 @@ X<-S>X<-b>X<-c>X<-t>X<-u>X<-g>X<-k>X<-T>X<-B>X<-M>X<-A>X<-C> -g File has setgid bit set. -k File has sticky bit set. - -T File is a text file. - -B File is a binary file (opposite of -T). + -T File is an ASCII text file. + -B File is a "binary" file (opposite of -T). -M Age of file in days when script started. -A Same for access time. diff --git a/pod/perlop.pod b/pod/perlop.pod index f70311b..106b9a9 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -365,12 +365,14 @@ Use "or" for assignment is unlikely to do what you want; see below. Binary ".." is the range operator, which is really two different operators depending on the context. In list context, it returns an -array of values counting (by ones) from the left value to the right -value. This is useful for writing C loops and for -doing slice operations on arrays. In the current implementation, no -temporary array is created when the range operator is used as the -expression in C loops, but older versions of Perl might burn -a lot of memory when you write something like this: +array of values counting (up by ones) from the left value to the right +value. If the left value is greater than the right value then it +returns the empty array. The range operator is useful for writing +C loops and for doing slice operations on arrays. In +the current implementation, no temporary array is created when the +range operator is used as the expression in C loops, but older +versions of Perl might burn a lot of memory when you write something +like this: for (1 .. 1_000_000) { # code diff --git a/win32/config.vc b/win32/config.vc index cf4799b..ea86e5f 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -82,7 +82,7 @@ d_bsd='define' d_bsdgetpgrp='undef' d_bsdsetpgrp='undef' d_bzero='undef' -d_casti32='define' +d_casti32='undef' d_castneg='define' d_charvspr='undef' d_chown='undef' diff --git a/win32/config_H.vc b/win32/config_H.vc index aab6935..432e95d 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -1091,7 +1091,7 @@ * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. */ -#define CASTI32 /**/ +/*#define CASTI32 /**/ /* CASTNEGFLOAT: * This symbol is defined if the C compiler can cast negative