Mail Archives: cygwin/2002/01/31/12:22:25
There seems to be a bug in Cygwin's perl (5.6.1). The
following code:
perl -e 'print $^S || 0;eval {print $^S || 0}; print
$^S || 0;'
should produce '010'
However, on Cygwin perl 5.6.1, it produces 011. This
means that perl incorrectly thinks it's in an eval
block when it's not. I've checked this on perl v5.6.1
for other platforms (including Win32) and it seems to
work fine.
Relevant output and cygcheck -s follows. Has anyone
run into this? I've checked this on several other
perl flavors and had no problem. I searched the
mailing list and didn't find any clues.
--Rhet
rhetlist AT yahoo DOT com
$ perl --version
This is perl, v5.6.1 built for cygwin-multi
Copyright 1987-2001, Larry Wall
Perl may be copied only under the terms of either the
Artistic License or the
GNU General Public License, which may be found in the
Perl 5 source kit.
Complete documentation for Perl, including FAQ lists,
should be found on
this system using `man perl' or `perldoc perl'. If
you have access to the
Internet, point your browser at http://www.perl.com/,
the Perl Home Page.
turnbullw AT TURNBULL ~
$ perl -e 'print $^S || 0;eval {print $^S || 0}; print
$^S || 0;'
011
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jan 31 12:21:52 2002
Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2
Path: C:\cygwin\bin
C:\cygwin\usr\sbin
C:\cygwin\usr\local\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\Perl\bin\
c:\Python21\
c:\Perl\bin\
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
C:\cygwin\bin
c:\DMI\bin
c:\progra~1\gnuplot
c:\PROGRA~1\ULTRAE~1
c:\progra~1\vim\vim57
c:\jdk1.3.0_02\bin
c:\PROGRA~1\Borland\Delphi6\Bin
c:\PROGRA~1\Borland\Delphi6\Projects\Bpl
c:\progra~1\sysinternals
c:\progra~1\cnofs
c:\perl2exe
c:\progra~1\econsole
c:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT
c:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin
c:\Program Files\Microsoft Visual Studio\Common\Tools
c:\Program Files\Microsoft Visual Studio\VC98\bin
C:\cygwin\bin
\\scdata1\cease\tsx5\bin
c:\Turnbull\cyghome\rhet\bin
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
CYGWIN = `ntsec'
HOME = `c:\Turnbull\cyghome\rhet'
MAKE_MODE = `unix'
PWD = `/home/rhet'
USER = `turnbullw'
Use `-r' to scan registry
###mount info removed
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
35k 2001/10/20 C:\cygwin\bin\cygitk30.dll
81k 2001/10/20 C:\cygwin\bin\cygitcl30.dll
390k 2001/10/20 C:\cygwin\bin\cygtcl80.dll
5k 2001/10/20 C:\cygwin\bin\cygtclpip80.dll
170k 2002/01/21 C:\cygwin\bin\cygpng2.dll
56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll
45k 2001/07/04 C:\cygwin\bin\cygjbig1.dll
119k 2001/06/06 C:\cygwin\bin\cygjpeg6b.dll
41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll
621k 2002/01/16 C:\cygwin\bin\cygcrypto.dll
35k 2002/01/09 C:\cygwin\bin\cygform6.dll
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
245k 2001/06/12 C:\cygwin\bin\cygtiff3.dll
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll
50k 2002/01/20 C:\cygwin\bin\cygz.dll
10k 2001/10/20 C:\cygwin\bin\cygtclreg80.dll
623k 2001/10/20 C:\cygwin\bin\cygtk80.dll
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll
107k 2002/01/23 C:\cygwin\bin\cygcurl-2.dll
21k 2001/06/20 C:\cygwin\bin\cygintl.dll
156k 2002/01/16 C:\cygwin\bin\cygssl.dll
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
66k 2001/11/20 C:\cygwin\bin\cygregex.dll
45k 2001/04/25 C:\cygwin\bin\cygform5.dll
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
612k 2002/01/16 C:\cygwin\bin\cygxml2-2.dll
73k 2002/01/16 C:\cygwin\bin\cygexslt-0.dll
202k 2002/01/16 C:\cygwin\bin\cygxslt-1.dll
22k 2002/01/16
C:\cygwin\bin\cygxsltbreakpoint-1.dll
121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll
19k 2002/01/13 C:\cygwin\bin\cygltdl-3.dll
751k 2002/01/21 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.9
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Jan 21 12:48:41 EST 2002
Shared id: cygwin1S3
560k 2001/09/21
C:\cygwin\usr\local\bin\cygwin-ruby16.dll
Cygwin Package Information
Package Version
ash 20011018-1
autoconf 2.52a-1
autoconf-devel 2.52-4
autoconf-stable 2.13-4
automake 1.5b-1
automake-devel 1.5-5
automake-stable 1.4p5-5
bash 2.05a-2
bc 1.06-1
binutils 20011002-1
bison 1.31-1
byacc 1.9-1
bzip2 1.0.1-6
clear 1.0
cpio 2.4.2
cron 3.0.1-5
crypt 1.0-1
ctags 5.2-1
curl 7.9.3-1
cvs 1.11.0-1
cygrunsrv 0.94-2
cygutils 0.9.8-1
cygwin 1.3.9-1
dejagnu 20010117-1
diff 0.0
ed 0.2-1
expect 20010117-1
figlet 2.2-1
file 3.37-1
fileutils 4.1-1
findutils 4.1
flex 2.5.4-1
fortune 1.8-1
gawk 3.0.4-1
gcc 2.95.3-5
gdb 20010428-3
gdbm 1.8.0-3
gettext 0.10.40-1
ghostscript 6.51-1
gperf 0.0
grep 2.4.2-1
groff 1.17.2-1
gzip 1.3.2-1
indent 2.2.7-2
inetutils 1.3.2-17
irc 20010101-1
jbigkit 1.2-4
jpeg 6b-4
less 358-3
libintl 0.10.38-3
libintl1 0.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libpng 1.0.12-1
libpng2 1.0.12-1
libreadline4 4.1-2
libreadline5 4.2a-1
libtool 20010531a-1
libtool-devel 20010531-6
libtool-stable 1.4.2-2
libxml2 2.4.13-1
libxslt 1.0.10-1
links 0.96-1
login 1.4-3
lynx 2.8.4-1
m4 0.0
make 3.79.1-5
man 1.5g-2
mingw 20010917-1
mingw-runtime 1.2-1
mktemp 1.4-1
mt 2.0.1-1
mutt 1.2.5i-6
nano 1.0.7-1
ncftp 3.0.2-2
ncurses 5.2-8
newlib-man 20001118-1
opengl 1.1.0-5
openssh 3.0.2p1-5
openssl 0.9.6c-3
openssl-devel 0.9.6c-2
openssl-src 0.9.6c-3
patch 2.5-2
pcre 3.7-1
perl 5.6.1-2
popt 1.6.2-1
postgresql 7.1.3-2
python 2.2-1
rcs 5.7-1
readline 4.2a-1
regex 4.4-2
robots 2.0-1
rsync 2.5.1-2
rxvt 2.7.2-9
sed 3.02-1
sh-utils 2.0-2
sharutils 4.2.1-2
shellutils 0.0
shutdown 1.2-2
squid 2.4-STABLE20010508
ssmtp 2.38.7-3
tar 1.13.19-1
tcltk 20001125-1
tcsh 6.11.00-3
termcap 20010825-1
terminfo 5.2-1
tetex-beta 20001218-1
texinfo 4.0-5
texmf 20000804-2
texmf-base 20000804-2
texmf-doc 20000804-2
texmf-extra 20000804-2
texmf-tiny 20000804-2
textutils 2.0.16-1
tiff 3.5.6beta-2
time 1.7-1
units 1.77-1
unzip 5.41-1
vim 6.0.93-1
w32api 1.2-1
wget 1.7.1-1
which 1.5-1
which-src 1.5-1
whois 4.5.17-1
xpm 4.0.0-2
xpm-nox 4.2.0-1
zip 2.3-1
zlib 1.1.3-7
Use -h to see help about each section
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -