Smoke [5.9.3] 24228 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)

2005-04-12 Thread Steve Hay
Automated smoke report for 5.9.3 patch 24228 TANGAROA.uk.radan.com: Intel(R) Pentium(R) 4 CPU 2.00GHz(~1992 MHz) (x86/1 cpu) onMSWin32 - WinXP/.Net SP1 using cl version 12.00.8804 smoketime 10 hours 36 minutes (average 26 minutes 32 seconds) Summary: FAIL(F) O = OK F =

[perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Ramanathan Mullainathan
# New Ticket Created by Ramanathan Mullainathan # Please include the string: [perl #34918] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34918 This is a bug report for perl from [EMAIL PROTECTED], generated with

Re: [perl #34914] Possible filedescriptor race condition in 5.8.3 and 5.8.6

2005-04-12 Thread Dagobert Michelsen
Hi, Von Gurusamy Sarathy via RT [EMAIL PROTECTED] (12 Apr 2005 03:26:42 -): On 11 Apr 2005 16:01:06 -, Dagobert Michelsen wrote: # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34914 [...] I am currently working with an embedded version of Perl 5.8.3 and 5.8.6 on Solaris

Re: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Nicholas Clark
On Tue, Apr 12, 2005 at 12:38:50AM -, Ramanathan Mullainathan wrote: When a associative array is assigned to indexed array, the associative array is transformed in to a indexed array of {key, value} in their occurance order. Hence while printing this indexed array, I should get the

Re: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Michael G Schwern
On Tue, Apr 12, 2005 at 09:47:55AM +0100, Nicholas Clark wrote: If you need the keys or values out of an associative array in any particular order, you will need to use a sorting function. Or you can use the Tie::IxHash module which creates hashes which preserve the order in which keys were

Re: [PATCH] Refactoring to Sv*_set() macros - patch #3

2005-04-12 Thread Nicholas Clark
On Sun, Apr 10, 2005 at 09:37:36PM -0500, Steve Peters wrote: Attached is the third in a series of patches to migrate to the Sv*_set() macros in the Perl core. Thanks, applied (24229) Nicholas Clark

Re: Change 24194: Mention that select() returns -1 on error,

2005-04-12 Thread Gisle Aas
[EMAIL PROTECTED] (Ton Hospel) writes: In article [EMAIL PROTECTED], Rafael Garcia-Suarez [EMAIL PROTECTED] writes: Ok, select() now returns undef on error as of change #24223. /me raises the backward compatibility police card For what it's worth, I think this is a bad idea.

[perl #27986] IPC::Open3 fails in mod_perl (tie bug)

2005-04-12 Thread Steve Peters via RT
[nicholas - Fri Apr 02 02:53:09 2004]: On Fri, Apr 02, 2004 at 09:06:44AM +0800, Benjamin J. Tilly wrote: I can do it, but I'm not sure when I'll get around to it. Aha. So I made the right decision not to wait for a test before integrating the fix? :-)

Re: Change 24194: Mention that select() returns -1 on error,

2005-04-12 Thread H.Merijn Brand
On 12 Apr 2005 03:46:24 -0700, Gisle Aas [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Ton Hospel) writes: In article [EMAIL PROTECTED], Rafael Garcia-Suarez [EMAIL PROTECTED] writes: Ok, select() now returns undef on error as of change #24223. /me raises the backward

Good day

2005-04-12 Thread jvromans
Here are your banks documents. Potentially Dangerous Attachment Removed. The file readme.scr has been blocked. File quarantined as: 90ace4df.text.pif.

[perl #34925] overload and rebless

2005-04-12 Thread via RT
# New Ticket Created by Nicholas Clark # Please include the string: [perl #34925] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34925 This is a bug report for perl from [EMAIL PROTECTED], generated with the help of

RE: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Ramanathan Mullainathan
Hi Michael, Thanks for you reply. But the same program works on other perl interpreter. Thanks Ram.M From: Michael G Schwern via RT [mailto:[EMAIL PROTECTED] Sent: Tue 4/12/2005 2:46 PM To: Ramanathan Mullainathan Subject: Re: [perl #34918] Bug while

Re: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Nicholas Clark
On Tue, Apr 12, 2005 at 06:33:34PM +0530, Ramanathan Mullainathan wrote: Hi Michael, Thanks for you reply. But the same program works on other perl interpreter. This is still not a bug. It's chance which way results come out from a regular perl hash, which differs from perl version and

Re: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Steve Peters
On Tue, Apr 12, 2005 at 06:33:34PM +0530, Ramanathan Mullainathan wrote: Hi Michael, Thanks for you reply. But the same program works on other perl interpreter. Thanks Ram.M Prior versions of Perl did return the output of hashes in a predictable order. This was completely

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Stas Bekman
so before this thread dies (and it must not!) here are the suggestions so far: 1) add a positive voice class method: SHOULD_CLONE (or whatever wording) and do cloning unless SHOULD_CLONE exists and returns false: + intuitive for the end users - since by default perl does cloning, when not

Re: [perl #34925] overload and rebless

2005-04-12 Thread Nicholas Clark
On Tue, Apr 12, 2005 at 01:24:58PM -, Nicholas Clark wrote: reblessing a object in a overloaded class doesn't clear the magic on some condition. Compare delete with delete_with_self in the test case. It looks like it's a more fundamental problem of where the overloading flag is stored:

[PATCH Perl 5.9.2] -Wformat

2005-04-12 Thread Robin Barker
This is a patch against perl-5.9.2 to deal with -Wformat warnings. There are other warnings from gcc -Wall: ... comparison is always false due to limited range of data type ... might be used uninitialized in this function Can't see how to do anything about the former (for the

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Elizabeth Mattijsen
At 10:31 AM -0400 4/12/05, Stas Bekman wrote: so before this thread dies (and it must not!) here are the suggestions so far: 1) add a positive voice class method: SHOULD_CLONE (or whatever wording) and do cloning unless SHOULD_CLONE exists and returns false: + intuitive for the end users -

Re: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread rns123
Ramanathan Mullainathan wrote: my @headers = qw(LastName FirstName Age); my %person; $person{FirstName} = Michael; $person{LastName} = Schwern; $person{Age} = 29; foreach my $key (@headers) { print $person{$key}, | ; }

RE: [perl #34918] Bug while printing Associative array via print function

2005-04-12 Thread Ramanathan Mullainathan
Hi Nicolas, Thanks. Thanks Ram.M From: Nicholas Clark via RT [mailto:[EMAIL PROTECTED] Sent: Tue 4/12/2005 7:07 PM To: Ramanathan Mullainathan Subject: Re: [perl #34918] Bug while printing Associative array via print function On Tue, Apr 12, 2005 at

Re: Perl 5.9.2 is out

2005-04-12 Thread Rafael Garcia-Suarez
Dan Kogai wrote: Porters On Apr 01, 2005, at 22:07, Rafael Garcia-Suarez wrote: Perl 5.9.2 is currently propagating on CPAN. Tests, of course, are welcome, including tests of CPAN modules (the Phalanx 100 to begin with). When are you going to review Encode 2.0902?

[perl #34931] IO::Pipe relies on STDIN and STDOUT

2005-04-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #34931] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34931 This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Dave Mitchell
On Tue, Apr 12, 2005 at 10:31:51AM -0400, Stas Bekman wrote: I'd be in favor of a solution which can be made available to users immediately, i.e. not in 5.10. mod_perl 2 will be released any moment now For the change to be integrated into maint, it would have to avoid breaking backwards

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Rafael Garcia-Suarez
On Apr 12, 2005 8:24 PM, Dave Mitchell [EMAIL PROTECTED] wrote: 2) add a negative voice class method: CLONE_ME_NOT (or whatever wording) and do cloning unless CLONE_ME_NOT exists and returns true: + makes the perl-core implementation logic better - might be confusing for users (as they

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Stas Bekman
Rafael Garcia-Suarez wrote: On Apr 12, 2005 8:24 PM, Dave Mitchell [EMAIL PROTECTED] wrote: 2) add a negative voice class method: CLONE_ME_NOT (or whatever wording) and do cloning unless CLONE_ME_NOT exists and returns true: + makes the perl-core implementation logic better - might be confusing

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Elizabeth Mattijsen
At 3:24 PM -0400 4/12/05, Stas Bekman wrote: Rafael Garcia-Suarez wrote: On Apr 12, 2005 8:24 PM, Dave Mitchell [EMAIL PROTECTED] wrote: 2) add a negative voice class method: CLONE_ME_NOT (or whatever wording) and do cloning unless CLONE_ME_NOT exists and returns true: + makes the perl-core

[perl #34934] perl 5.8.5 on x86 and x86-64 hang at compile-time

2005-04-12 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #34934] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34934 This is a bug report for perl from [EMAIL PROTECTED], generated with the

Re: [perl #34925] overload and rebless

2005-04-12 Thread Tony Bowden
On Tue, Apr 12, 2005 at 01:24:58PM -, Nicholas Clark wrote: reblessing a object in a overloaded class doesn't clear the magic on some condition. This isn't just an abstract bug; this causes problems for Class::DBI users on a regular basis... Tony

Re: [perl #34925] overload and rebless

2005-04-12 Thread Nicholas Clark
On Tue, Apr 12, 2005 at 08:17:20PM +0100, Tony Bowden wrote: On Tue, Apr 12, 2005 at 01:24:58PM -, Nicholas Clark wrote: reblessing a object in a overloaded class doesn't clear the magic on some condition. This isn't just an abstract bug; this causes problems for Class::DBI users on a

Test::Harness failures in bleadperl

2005-04-12 Thread Yitzchak Scott-Thoennes
These failures just started recently, perhaps having been masked before by the 5.9.2 I had installed. lib/Test/Harness/t/strap-analyze..Can't locate if.pm in @INC (@INC contains: /usr/local/lib/perl5/5.9.3/cygwin-thread-multi-64int /usr/local/lib/perl5/5.9.3

Re: [perl #34934] perl 5.8.5 on x86 and x86-64 hang at compile-time

2005-04-12 Thread Michael G Schwern
On Tue, Apr 12, 2005 at 07:12:58PM -, bstrand @ switchmanagement. com wrote: On Suse 9.2, perl 5.8.5 x86 or x86-64, the following perl snippet hangs the compiler with 100% CPU usage: perl -we 'BEGIN { print compile-time\n; } use strict; my $type = 2; print join( , grep $type

Re: need to introduce CLONE2 as an method

2005-04-12 Thread Stas Bekman
Elizabeth Mattijsen wrote: [...] 4) simply check whether the sub CLONE (we have it already in the API) exists (bypassing inheritance, so a child will have to define CLONE to be CLONE-able) and if not do not clone. + automatically makes CPAN perl-thread-safe + requires no new API - may break

Re: [perl #34934] perl 5.8.5 on x86 and x86-64 hang at compile-time

2005-04-12 Thread Rafael Garcia-Suarez
On Apr 12, 2005 10:19 PM, Michael G Schwern [EMAIL PROTECTED] wrote: perl -we 'BEGIN { print compile-time\n; } use strict; my $type = 2; print join( , grep $type (1,2,3,2,4,2,5)), \n; BEGIN { print never get here\n; }' Confirmed on OS X 5.8.6. It loops in ck_grep. Maybe introduced by

Re: [perl #34934] perl 5.8.5 on x86 and x86-64 hang at compile-time

2005-04-12 Thread Ronald J Kimball
On Tue, Apr 12, 2005 at 07:12:58PM -, bstrand @ switchmanagement. com wrote: On Suse 9.2, perl 5.8.5 x86 or x86-64, the following perl snippet hangs the compiler with 100% CPU usage: perl -we 'BEGIN { print compile-time\n; } use strict; my $type = 2; print join( , grep $type

Re: Change 24194: Mention that select() returns -1 on error,

2005-04-12 Thread Ton Hospel
In article [EMAIL PROTECTED], Gisle Aas [EMAIL PROTECTED] writes: So, how did you figure out this was the right way? Did you read the source code for pp_sselect, did you find this by experimentation or was this just the obvious mapping to you? I experimented.

[ANNOUNCE] ExtUtils::MakeMaker 6.28

2005-04-12 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.28.tar.gz or http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk or a CPAN near you. This release mostly contains minor fixes noticed in bleadperl integration. The only major bug fixed is for AIX users, MM_AIX would not load. 6.28 Tue

Re: [PATCH Perl 5.9.2] -Wformat

2005-04-12 Thread Yitzchak Scott-Thoennes
On Tue, Apr 12, 2005 at 06:53:32PM +0100, Robin Barker wrote: This is a patch against perl-5.9.2 to deal with -Wformat warnings. There are other warnings from gcc -Wall: ... comparison is always false due to limited range of data type ... might be used uninitialized in this

Re: [perl #34914] Possible filedescriptor race condition in 5.8.3 and 5.8.6

2005-04-12 Thread Gurusamy Sarathy
On Tue, 12 Apr 2005 10:35:51 +0200, Dagobert Michelsen wrote: Von Gurusamy Sarathy via RT [EMAIL PROTECTED] (12 Apr 2005 03:26:4 2 -): I remember fixing a problem similar to the one you've reported back in 2002. Perhaps the problem code has come back?

[PATCH] extra code in pp_concat

2005-04-12 Thread Andy Lester
It's not much, but in the middle of localizing auto vars, I found some removable code in pp_concat. Every little bit helps. xoa -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance Index: pp_hot.c === --- pp_hot.c

Re: [PATCH] extra code in pp_concat

2005-04-12 Thread Yitzchak Scott-Thoennes
On Tue, Apr 12, 2005 at 10:46:50PM -0500, Andy Lester wrote: @@ -159,7 +158,8 @@ } if (TARG != left) { - lpv = SvPV(left, llen); /* mg_get(left) may happen here */ +STRLEN llen; +const char* const lpv = SvPV(left, llen);/* mg_get(left) may