develooper Front page | perl.perl5.porters | Postings from March 2000

[PATCH 5.6.0-rc1] lib/Config.pm problem for Win32, BC++ compiled perl

From:
Konovalov, Vadim
Date:
March 13, 2000 22:23
Subject:
[PATCH 5.6.0-rc1] lib/Config.pm problem for Win32, BC++ compiled perl
Message ID:
402099F49BEED211999700805FC7359F46AF9F@ru0028exch01.spb.lucent.com
> -----Original Message-----
> From: Konovalov, Vadim [mailto:vkonovalov@lucent.com]
>
> This is a bug report for perl from 
> vkonovalov@rtc_vkonovalov.spb.lucent.com,
> generated with the help of perlbug 1.27 running under perl v5.6.0.
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> perl -V incorrectly outputs line libpth=......
> In my case there should be
>   libpth=c:\borland\bc5\lib
> 
> perl outputs all this line correctly except substrings '\b', which are
> replaced by char with a code 0x08.
> File lib/Config.pm contains line libpth='...' with the same problem,
> it results in assigning libpth a value "c:\x08orland\x08c5\lib"

This patch fixes win32/makefile.mk to correct autogenerated file
lib/Config.pm. IMO it affects only BC++. Similar things (with a different
syntax) are made in win32/Makefile, so I just propagate some of them, namely
'libpth' and 'incpth'.

--- D:\WORK\PerlCompile\etalonie\perl-5.6.0-RC1\win32\makefile.mk	Thu
Mar 09 22:53:14 2000
+++ makefile.mk	Mon Mar 13 23:07:02 2000
@@ -838,9 +838,9 @@
 		d_crypt=$(D_CRYPT)		~	\
 		d_mymalloc=$(PERL_MALLOC)	~	\
 		libs=$(LIBFILES:f)		~	\
-		incpath=$(CCINCDIR)		~	\
+		incpath=$(CCINCDIR:s/\/\\/)	~	\
 		libperl=$(PERLIMPLIB:f)		~	\
-		libpth=$(CCLIBDIR);$(EXTRALIBDIRS)		~	\
+		libpth=$(CCLIBDIR:s/\/\\/);$(EXTRALIBDIRS:s/\/\\/)
~	\
 		libc=$(LIBC)			~	\
 		make=dmake			~	\
 		_o=$(o)	obj_ext=$(o)		~	\
End of patch.

Good luck,
Vadim Konovalov.
use strict;%;=qw;. @ @ .;,;$;=q;@;,$,=qq>\n>=>print
unpack q,A28,x6,join q,,,map{;$;=$;{$;};$;x$_;}split q,,,q
<13321523136131112131213171212121312131711524355111113121613132111316431322>





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About