This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in cygwin perl 5.6.1?


>>>>> "Volker" == Volker Zell <Dr.> writes:

>>>>> "Christopher" == Christopher Faylor <cgf@redhat.com> writes:
    Christopher> perl -e 'print $^S || 0, "\n";eval {print $^S || 0, "\n"}; print $^S || 0, "\n";'

    Christopher> This should print:

    Christopher> 0
    Christopher> 1
    Christopher> 0

    Christopher> Instead, it prints:

    Christopher> 0
    Christopher> 1
    Christopher> 1

    Volker> Here it gives:

    Volker> 08:41pm [500]> perl -e 'print $^S || 0, "\n";eval {print $^S || 0, "\n"}; print $^S || 0, "\n";'
    Volker> 0
    Volker> 1
    Volker> 0

OOps, I missed the fact that I was still using my own build of perl in /usr/local.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=cygwin, osvers=1.1.4(0.2632), archname=cygwin
    uname='cygwin_nt-4.0 vzell 1.1.4(0.2632) 2000-08-03 20:53 i686 unknown '
    config_args='-d'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release-2)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lm -lcrypt -lcygipc -lcygwin -lkernel32
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_0.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under cygwin
  Compiled at Sep 11 2000 12:06:03
  @INC:
    /usr/local/lib/perl5/5.6.0/cygwin
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/cygwin
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl


Ciao
  Volker


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]