diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-20 17:34:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-20 17:34:32 +0000 |
commit | cbebf3444d32314df9db7cb3988b6c97da05aa13 (patch) | |
tree | e0bc62e0157044a228af4aa13570f910aebf0fc8 | |
parent | 4176d4e4193dbc6436aec8706515884cf6b882d7 (diff) | |
download | perl-cbebf3444d32314df9db7cb3988b6c97da05aa13.tar.gz |
Integrate changes #8853,8854 from maintperl to mainline.
EBDIC fixes, README.win32 Borland update.
p4raw-link: @8854 on //depot/maint-5.6/perl: ece00f1416215bb2d7a51174ba7aa627e0b0a3ad
p4raw-link: @8853 on //depot/maint-5.6/perl: 3ef34714520621f9238ff67b9f34f043113325c1
p4raw-id: //depot/perl@8857
p4raw-integrated: from //depot/maint-5.6/perl@8851 'merge in'
README.win32 (@8175..) handy.h (@8789..) util.c (@8806..)
-rw-r--r-- | README.win32 | 8 | ||||
-rw-r--r-- | handy.h | 2 | ||||
-rw-r--r-- | util.c | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/README.win32 b/README.win32 index ddc1f847a6..113c0f5c70 100644 --- a/README.win32 +++ b/README.win32 @@ -214,6 +214,14 @@ default path. You will need to copy the DLLs reported by the messages from where Borland chose to install it, into the Windows system directory (usually somewhere like C:\WINNT\SYSTEM32) and rerun the test. +If you're using Borland compiler versions 5.2 and below, you're risking +to face a problem with finding incorrect header files. Don't be surprised +when during compiling perl extension "Tk" you will fail because both perl +and tk contain a header file with same name - "patchlevel.h". The latest +Borland compilers are free of this misbehaviour, and they even invented +option -VI- for backward (bugward) compatibility as "Use old Borland +search algorithm to locate header files". + Please report any other failures as described under L<BUGS AND CAVEATS>. =head2 Installation @@ -483,7 +483,7 @@ Converts the specified character to lowercase. #define isBLANK_LC_utf8(c) isBLANK(c) /* could be wrong */ #ifdef EBCDIC -# define toCTRL(c) ebcdic_control(c) +# define toCTRL(c) Perl_ebcdic_control(c) #else /* This conversion works both ways, strangely enough. */ # define toCTRL(c) (toUPPER(c) ^ 64) @@ -4004,6 +4004,9 @@ Perl_report_evil_fh(pTHX_ GV *gv, IO *io, I32 op) } #ifdef EBCDIC +/* in ASCII order, not that it matters */ +static const char controllablechars[] = "?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"; + int Perl_ebcdic_control(pTHX_ int ch) { |