Skip Menu |
Report information
Id: 1791
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: guoheng.wei [at] intel.com
Cc:
AdminCc:

Operating System: generic
PatchStatus: (no value)
Severity: medium
Type: library
Perl Version: 5.005_03
Fixed In: (no value)



From: "Wei, Guoheng" <guoheng.wei [...] intel.com>
To: "'perlbug [...] perl.com'" <perlbug [...] perl.com>
Subject: a bug in perl5 under Linux
Date: Wed, 17 Nov 1999 09:45:30 -0800
Download (untitled) / with headers
text/plain 321b
% perl -v This is perl, version 5.005_03 built for i386-linux % perl print 8473018401 % 524288 , "\n" 524287 The correct answer should be 33. Guoheng Wei _.-. Sr. Component Design Eng. '( ^{_} ( Intel Corp. `~\`-----'\ 512-314-0053 )_)---)_)
To: "Wei, Guoheng" <guoheng.wei [...] intel.com>
Cc: perl5-porters [...] perl.org
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Date: Wed, 17 Nov 1999 10:48:17 -0700
From: Tom Christiansen <tchrist [...] jhereg.perl.com>
Download (untitled) / with headers
text/plain 333b
Show quoted text
>I find this problem when I use perl5 compiled under Linux.
Show quoted text
>% perl -v
Show quoted text
>This is perl, version 5.005_03 built for i386-linux
Show quoted text
>% perl >print 8473018401 % 524288 , "\n" >524287
Show quoted text
>The correct answer should be 33.
% perl -v This is perl, version 5.005_62 built for i686-linux [etc] % perl print 8473018401 % 524288 , "\n" 33 --tom
Date: Wed, 17 Nov 1999 19:04:14 +0000
From: Alan Burlison <Alan.Burlison [...] uk.sun.com>
To: Tom Christiansen <tchrist [...] jhereg.perl.com>
Cc: "Wei, Guoheng" <guoheng.wei [...] intel.com>, perl5-porters [...] perl.org
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Download (untitled) / with headers
text/plain 267b
Show quoted text
> % perl -v > This is perl, version 5.005_62 built for i686-linux > [etc] > > % perl > print 8473018401 % 524288 , "\n" > 33
$ perl -v This is perl, version 5.005_03 built for sun4-solaris [etc] $ perl print 8473018401 % 524288 , "\n" 524287 Hmm. Alan Burlison
From: Ilya Zakharevich <ilya [...] math.ohio-state.edu>
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
To: Alan.Burlison [...] uk.sun.com (Alan Burlison)
Date: Wed, 17 Nov 1999 14:59:11 -0500 (EST)
Cc: tchrist [...] jhereg.perl.com (Tom Christiansen), guoheng.wei [...] intel.com (Wei Guoheng), perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 228b
Alan Burlison writes: Show quoted text
> > % perl > > print 8473018401 % 524288 , "\n" > > 33
Show quoted text
> $ perl > print 8473018401 % 524288 , "\n" > 524287 > > Hmm.
Well, you see: (unintentionally) insulting you is not my only function on p5p. Ilya
Date: Wed, 17 Nov 1999 20:44:31 +0000
From: Alan Burlison <Alan.Burlison [...] uk.sun.com>
To: Ilya Zakharevich <ilya [...] math.ohio-state.edu>
Cc: Tom Christiansen <tchrist [...] jhereg.perl.com>, perl5-porters [...] perl.org
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Download (untitled) / with headers
text/plain 157b
Ilya Zakharevich wrote: Show quoted text
> Well, you see: (unintentionally) insulting you is not my only function > on p5p.
And the other function is? ;-) Alan Burlison
Date: Thu, 18 Nov 1999 11:41:09 +0100
To: perl5-porters [...] perl.org
From: Dominic Dunlop <domo [...] computer.org>
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Cc: Ilya Zakharevich <ilya [...] math.ohio-state.edu>, Alan.Burlison [...] uk.sun.com (Alan Burlison), tchrist [...] jhereg.perl.com (Tom Christiansen), guoheng.wei [...] intel.com (Wei Guoheng)
Download (untitled) / with headers
text/plain 639b
At 20:59 +0100 1999-11-17, Ilya Zakharevich wrote: Show quoted text
> Alan Burlison writes:
> > > % perl > > > print 8473018401 % 524288 , "\n" > > > 33
>
> > $ perl > > print 8473018401 % 524288 , "\n" > > 524287 > > > > Hmm.
> > Well, you see: (unintentionally) insulting you is not my only function > on p5p.
Fine, fine, but does anybody have any idea when and how the problem was fixed, and whether the fix has yet been/can be applied in the maintenance track? A grep through _62 Changes for % and modulo sheds no light. All I've established is that the fix was in place by _57, the earliest development version I have around. -- Dominic Dunlop
To: domo [...] computer.org (Dominic Dunlop)
Cc: perl5-porters [...] perl.org
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Date: Thu, 18 Nov 1999 12:08:13 +0000
From: Hugo <hv [...] crypt.compulink.co.uk>
Download (untitled) / with headers
text/plain 1011b
In <v03110704b4598751194b@[212.24.192.242]>, Dominic Dunlop writes: :At 20:59 +0100 1999-11-17, Ilya Zakharevich wrote: :> Alan Burlison writes: :> > > % perl :> > > print 8473018401 % 524288 , "\n" :> > > 33 :> :> > $ perl :> > print 8473018401 % 524288 , "\n" :> > 524287 :> > :> > Hmm. :> :> Well, you see: (unintentionally) insulting you is not my only function :> on p5p. : :Fine, fine, but does anybody have any idea when and how the problem was :fixed, and whether the fix has yet been/can be applied in the maintenance :track? A grep through _62 Changes for % and modulo sheds no light. All :I've established is that the fix was in place by _57, the earliest :development version I have around. For what it's worth: crypt% setperl 57 old: perl5.005_03; new: perl5.005_57 crypt% perl -wle 'print 8473018401 % 524288' 33 crypt% setperl 56 old: perl5.005_57; new: perl5.005_56 crypt% perl -wle 'print 8473018401 % 524288' 524287 crypt% .. so it was presumably fixed for the first time in _57. Hugo
Date: Thu, 18 Nov 1999 13:25:11 -0500
From: Ilya Zakharevich <ilya [...] math.ohio-state.edu>
To: Dominic Dunlop <domo [...] computer.org>
Cc: perl5-porters [...] perl.org, Alan Burlison <Alan.Burlison [...] uk.sun.com>, Tom Christiansen <tchrist [...] jhereg.perl.com>, Wei Guoheng <guoheng.wei [...] intel.com>
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Download (untitled) / with headers
text/plain 537b
On Thu, Nov 18, 1999 at 11:41:09AM +0100, Dominic Dunlop wrote: Show quoted text
> > > > % perl > > > > print 8473018401 % 524288 , "\n" > > > > 33
> >
> > > $ perl > > > print 8473018401 % 524288 , "\n" > > > 524287 > > > > > > Hmm.
> > > > Well, you see: (unintentionally) insulting you is not my only function > > on p5p.
> > Fine, fine, but does anybody have any idea when and how the problem was > fixed, and whether the fix has yet been/can be applied in the maintenance > track?
I think I did it shortly before numconvert modifications. Ilya
To: domo [...] computer.org (Dominic Dunlop)
Cc: perl5-porters [...] perl.org, Ilya Zakharevich <ilya [...] math.ohio-state.edu>, Alan.Burlison [...] uk.sun.com (Alan Burlison), tchrist [...] jhereg.perl.com (Tom Christiansen), guoheng.wei [...] intel.com (Wei Guoheng)
Subject: Re: [ID 19991117.002] a bug in perl5 under Linux
Date: Thu, 18 Nov 1999 11:15:15 -0800
From: Gurusamy Sarathy <gsar [...] ActiveState.com>
Download (untitled) / with headers
text/plain 404b
On Thu, 18 Nov 1999 11:41:09 +0100, Dominic Dunlop wrote: Show quoted text
>Fine, fine, but does anybody have any idea when and how the problem was >fixed, and whether the fix has yet been/can be applied in the maintenance >track? A grep through _62 Changes for % and modulo sheds no light.
% grep ' % ' Changes | grep mod Subject: [PATCH 5.005_*] Make % use fmod() Sarathy gsar@ActiveState.com


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org