Re: Fwd: CPAN Upload: G/GB/GBARR/IO-1.22.tar.gz

2005-09-06 Thread Rafael Garcia-Suarez
Graham Barr wrote: I have made a new IO release with files from the repository. I did need to make some change so that it would compile with 5.6.1 Thanks, I applied it as such : Change 25355 on 2005/09/06 by [EMAIL PROTECTED] Upgrade to IO 1.22 from gbarr - Adjust the

Re: [CRACK] build a better runloop

2005-09-06 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: On Fri, Sep 02, 2005 at 12:07:21PM +0200, Rafael Garcia-Suarez wrote: OK, Runops::Switch 0.01 just uploaded to CPAN. From my very first tests, it's slower. To make it faster, would it need to inline the hot ops? OK, 0.02 uploaded to play with : 0.02 - 06 Sep

Re: Tied hash numeric values are rounded off under Perl v5.8.6

2005-09-06 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: However, the bug I thought was there indeed was for scalar magic: sub TIESCALAR { bless {} } sub FETCH { my $x=3.3; 1 if 0+$x; $x } tie $h, main; print $h; prints 3 and should IMO print 3.3. The following fixes it, though I haven't run full tests yet:

Re: [PATCH] Compress::Zlib-1.38

2005-09-06 Thread Rafael Garcia-Suarez
On 9/6/05, Paul Marquess [EMAIL PROTECTED] wrote: Syncs the core with CPAN Thanks, applied as change #25361.

Re: [perl #37091] File::Path::mkpath resets errno

2005-09-07 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: When calling File::Path::mkpath and one of the mkdir fails, the functions checks if the directory was not created by other process. The problem is the check resets $! and so there is no way how the caller may find out the reason ($@ contains only locale

Re: exempli gratia is e.g.

2005-09-07 Thread Rafael Garcia-Suarez
On 9/7/05, Mark Jason Dominus [EMAIL PROTECTED] wrote: I would like to suggest that Latin is obscure, and latin abbreviations are doubly obscure. There is no space constraint that should require us to use e.g. in place of for example. Using i.e. in place of that is is even sillier. (57%

Re: [PATCH blead] Make t/op/local.t use test.pl.

2005-09-08 Thread Rafael Garcia-Suarez
On 9/8/05, H.Merijn Brand [EMAIL PROTECTED] wrote: On Wed, 7 Sep 2005 22:45:44 -0400, Rick Delaney [EMAIL PROTECTED] wrote: I wanted to add some tests to the middle of t/op/local.t but saw I'd have to renumber everything. Patch 1 changes it to use test.pl so numbering doesn't matter.

__DATA__ and fcntl flags

2005-09-09 Thread Rafael Garcia-Suarez
In toke.c, in the part of code that sets the file descriptor for __DATA__, there is this chunk of code : #if defined(HAS_FCNTL) defined(F_SETFD) { const int fd = PerlIO_fileno(PL_rsfp); fcntl(fd,F_SETFD,fd = 3); } #endif

Re: __DATA__ and fcntl flags

2005-09-09 Thread Rafael Garcia-Suarez
I wrote: What's the sensible thing to do ? Ooh, Spider Boardman points to me that I misread F_SETFD as F_SETFL. I blame a friday afternoon and a hard week...

Re: [perl #37128] undefing *foo{CODE} does not fully work

2005-09-10 Thread Rafael Garcia-Suarez
On 9/10/05, Dave Mitchell [EMAIL PROTECTED] wrote: Undefing a sub is not the same as deleting a sub. Internally, the CV continues to exist, but its pad and op tree are freed. cf: One of the items on the todo list is to allow the construct delete foo; I could finish my patch to do it if I

Re: [perl #36448] [PATCH] configuring ranlib for perl on osx with xcode 2.1

2005-09-11 Thread Rafael Garcia-Suarez
On 9/11/05, Steve Peters via RT [EMAIL PROTECTED] wrote: Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1 rather than the current bleadperl and it isn't in diff -u format, a new patch might be needed. One question comes to mind when I look at it,

Re: [perl #32884] API doc for SvUTF8

2005-09-12 Thread Rafael Garcia-Suarez
Steve Peters via RT wrote: Acutally, everything looking a return value from SvFLAGS(sv) should be looking for a U32. Since I'd like to automate these changes as much as possible, how does the following look? Fine, but probably all other docs for SvFLAGS bit tests need the same change, no ?

Re: [perl #37142] h2xs skips enums with negative values

2005-09-12 Thread Rafael Garcia-Suarez
Aaron Kaplan (via RT) wrote: h2xs doesn't generate any code for an enum constant with an explicitly declared negative value, e.g. enum foo { bar = -1 }, because the regular expression for parsing enums doesn't allow for the minus sign. Here's a patch. --- h2xs-5.9.2 2005/09/11 12:40:25

Re: Stop fiddling with the bloody grammar (was Re: exempli gratia is e.g.)

2005-09-13 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: What it does add is MAINTENANCE COST. Maintaining an extreme level of grammatical correctness and consistency over a large collection with multiple authors takes time and effort not just from the person doing the initial grammar fix but from all the CPAN authors who

Re: [MAINT24637] fails make test on OSX 10.4 (lib/locale.t)

2005-09-13 Thread Rafael Garcia-Suarez
Randal L. Schwartz wrote: At least it fails on only one thing... lib/locale FAILED at test 99 IIRC that's a problem with the system's locales. Did we have the word of some Apple expert on this ? it makes probably sense to disable those test for this version of Darwin.

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Rafael Garcia-Suarez
Alexander Kolbasov wrote: Solaris (*) has a dynamic instrumentation tool called DTrace. It allows to *dynamically* instrument any running application and get useful information about its behavior with zero (or almost zero) impact on the application when it is not instrumented. This works

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Rafael Garcia-Suarez
Alan Burlison wrote: Rafael Garcia-Suarez wrote: Maybe are you aware of http://blogs.sun.com/roller/page/alanbur?entry=dtrace_and_perl already ? As Rafael says, I've already done some work on this, documented at the link above. My intention is to put some generic macros into perl

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: From what I remember Alan telling me about what Dave had said, there are were a few more points other than entersub and leavesub that would need instrumentation. goto sub; was the most obscure, but I think that require was another. What about the unusual ways of exiting

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Rafael Garcia-Suarez
Alan Burlison wrote: I'd be more than happy to do it in a module, but I'm not clear how I would replace functions in libperl from a module. Your module could, for example, replace the op_ppaddr fields of the ops you want to intrument with your own DTrace-enabled implementation. (I note that

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-13 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: I think I like the idea, and the patch seems safe. What I don't like, though, is the lack of tests for this patch. Also, a minor concern is that people might unknowingly write non-backwards-compatible code with 5.10 by using this construct. Some basic

Re: [PATCH] Re: [MAINT24637] fails make test on OSX 10.4 (lib/locale.t)

2005-09-13 Thread Rafael Garcia-Suarez
On 9/13/05, Dominic Dunlop [EMAIL PROTECTED] wrote: It turns out that Mac OS X 10.4 has a bad Byelorussian locale as well as the bad Catalan ones. Patch that skips testing all of these attached. The patch (optimistically) assumes that Apple will have fixed things by the update after next. We

Re: perlpodspec vs. Pod::Perldoc vs. Pod::Parser

2005-09-14 Thread Rafael Garcia-Suarez
On 9/14/05, Joshua Hoblitt [EMAIL PROTECTED] wrote: [...] I think that Pod::Parser is probably the one properly following the spec.. Can anyone help confirm or clarify what the correct behavior here is? That would be Sean Burke, maintainer of both perlpodspec and Pod::Parser.

Re: [perl #37163] dprofpp array subscript error

2005-09-14 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: The dprofpp that comes with perl 5.8.6 and 5.8.4 (haven't tried others) has a bug where a non-existent array element is assigned to which makes dprofpp die. I create a profile like this: dprofpp -Q -p program.pl and I get this tmon.out (gz):

Re: [PATCH] Math::Complex and Math::Trig updates (Re: [perl #37117] Math::Complex atan2 bug)

2005-09-14 Thread Rafael Garcia-Suarez
Jarkko Hietaniemi wrote: The attached patch (#1) brings several pending updates to Math::Complex and Math::Trig. - Complex: fix for the [perl #31117]: atan2(0, i) now works, as do all the (computable) complex argument cases (I adopted the Mathematica definition)

Re: [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.48.tar.gz]

2005-09-15 Thread Rafael Garcia-Suarez
John Peacock wrote: The uploaded file version-0.48.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JP/JPEACOCK/version-0.48.tar.gz size: 31278 bytes md5: 95cc7fc1e72ac3c51b062d3d19cd3d79 Associated patch vs. bleadperl attached. The patch is a lot

Re: [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.48.tar.gz]

2005-09-15 Thread Rafael Garcia-Suarez
John Peacock wrote: Rafael Garcia-Suarez wrote: Unfortunately : lib/version...Undefined subroutine main::qv called at ../lib/version.t line 234. # Looks like you planned 200 tests but only ran 70. # Looks like your test died just after 70. FAILED

Re: Smoke [5.9.3] 25417 FAIL(F) freebsd 5.4-STABLE (i386/6 cpu)

2005-09-16 Thread Rafael Garcia-Suarez
I think we had said we could always keep useperlio for blead smokes. [EMAIL PROTECTED] wrote: Automated smoke report for 5.9.3 patch 25417 profane.mongueurs.net: Intel Pentium III Xeon (i386/6 cpu) onfreebsd - 5.4-STABLE using cc version 3.4.2 [FreeBSD] 20040728

Re: [perl #37190] -DT -e 'use warnings;' crashes

2005-09-19 Thread Rafael Garcia-Suarez
Nicholas Clark (via RT) wrote: Using -DT with use warnings; goes bang on OS X. I was able to get out of memory failures on FreeBSD, but everything works on x86/Linux, at least for me. I guess x86/Linux is just lucky - this seems to be a real bug, although quite where, I'm not sure. Starting

Re: [perl #37102] Additional information

2005-09-19 Thread Rafael Garcia-Suarez
On 9/18/05, Geoff Mottram [EMAIL PROTECTED] wrote: The problem with regular expressions getting clobbered only occurs while running Perl with the -d (debug) option. I believe it is the sub() method of the DB.pm module that contains the regular expression that clobbers the running script's

Re: t/io/fs.t triply linked issue - Test does not match comments

2005-09-19 Thread Rafael Garcia-Suarez
On 9/19/05, John E. Malmberg [EMAIL PROTECTED] wrote: When I enable hard links on VMS, it exposed that the t/io/fs.t is not testing what the comments indicate that it is testing. The correct test would be to see if the $mode of the third link matched the $mode for the original file. What

Re: bleadperl DProf.xs:140: warning: `unused' attribute ignored

2005-09-19 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: bleadperl is getting: DProf.xs:140: warning: `unused' attribute ignored The following fixes it; I thought about defining a pTHX_bare in perl.h that leaves off the register and PERL_UNUSED_DECL from pTHX, but decided there really wasn't going to be a lot of

Re: RFC - VMS behavior changes proposal

2005-09-19 Thread Rafael Garcia-Suarez
On 9/18/05, John E. Malmberg [EMAIL PROTECTED] wrote: I am looking for comments on a couple of VMS specific behavior issues. Unless there are some objections, I would like to make these changes: They all seem sensible to me. (Although I don't understand the 2nd very well, but I trust the

Re: Signature.t failure

2005-09-20 Thread Rafael Garcia-Suarez
H.Merijn Brand wrote: Because I installed Test::Pod and Test::Pod::Coverage (requiring a whole chain of other modules) and Devel::Cover, I also had to install Module::Signature somewhere along the line, and this causes the 5.8.8 tests to fail. After reading Module::Signature's docs, I propose

Re: PATCH for #37138: using XSUB as DB::DB causes perl to crash

2005-09-20 Thread Rafael Garcia-Suarez
Salvador FandiXo wrote: the attached patch solves bug #37138, that was causing perl to crash when using an XSUB as DB::DB(). Thanks. Your patch is suitable for maintperl; I modified it as follows for bleadperl : Change 25511 by [EMAIL PROTECTED] on 2005/09/20 09:02:17 Subject: PATCH

Re: [PATCH blead] Re: [perl #36733] %SIG not properly local-ized

2005-09-20 Thread Rafael Garcia-Suarez
Rick Delaney wrote: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.35 running under perl v5.8.6. - The construct local %SIG = %SIG; does *not* make an exact local

Re: oddity in op.c

2005-09-20 Thread Rafael Garcia-Suarez
On 9/20/05, David Nicol [EMAIL PROTECTED] wrote: what's OP_DOR? //

Re: [PATCH] licensing terms for perlglossary.pod

2005-09-20 Thread Rafael Garcia-Suarez
On 9/20/05, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: Tim O'Reilly says we can say: Woot. Where ? --- perl/pod/perlglossary.pod.orig 2005-09-20 11:22:31.480172800 -0700 +++ perl/pod/perlglossary.pod 2005-09-20 11:24:18.453993600 -0700 @@ -3380,4 +3380,4 @@ Based on the

Re: oddity in op.c

2005-09-20 Thread Rafael Garcia-Suarez
On 9/20/05, David Nicol [EMAIL PROTECTED] wrote: what's OP_DOR? // Now that defined-or has an opcode, is if(defined(EXPR)){... optimized to use it instead of calling OP_DEFINED? you mean unless(defined(EXPR)) surely... No, it's not, currently.

Re: [PATCH] licensing terms for perlglossary.pod

2005-09-20 Thread Rafael Garcia-Suarez
On 9/20/05, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: Tim O'Reilly says we can say: Woot. Where ? See attached. --- perl/pod/perlglossary.pod.orig 2005-09-20 11:22:31.480172800 -0700 +++ perl/pod/perlglossary.pod 2005-09-20 11:24:18.453993600 -0700 So, thanks,

Re: [PATCH 5.8.7] misc a2p fixes

2005-09-21 Thread Rafael Garcia-Suarez
Brendan O'Dea wrote: The following patch corrects some issues with a2p: * Make {$1++;print} work correctly. The re-join was occuring for assignment, but not increment (Debian bug #198945). * Make {$NF++} work. Was generating $Fld[$#Fld++]. * Use -1 as the last argument to split

Re: [perl #37223] File::Find::find fails on Win32 with follow = 1

2005-09-21 Thread Rafael Garcia-Suarez
Steve Hay (via RT) wrote: The File::Find::find() function fails on Win32 if the follow = 1 option is specified. Presumably follow (and follow_fast?) should be no-ops on Win32 since symbolic links are not supported on that OS. Seems quite sensible. Is this a new problem ? I can't believe

Re: [PATCH] Changes for hints/linux.sh for Purify

2005-09-23 Thread Rafael Garcia-Suarez
Steve Peters wrote: Purify's ld is much more picky regarding duplicate symbols than the GNU ld. It automatically includes libc by default. Configure, however, includes a -lc when linking, causing the link to fail. The following patch deals with the duplicate symbols by removing libc from

Re: [PATCH] quiet a few warnings

2005-09-23 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: --- perl/embed.fnc.orig 2005-09-19 12:16:55.0 -0700 +++ perl/embed.fnc2005-09-21 13:05:46.76224 -0700 Thanks, applied as change #25586.

Re: Too late for INIT

2005-09-23 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] wrote: If I correctly read this message from Larry: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-04/msg00081.html we shouldn't be refusing to run INIT blocks just because a module was loaded with 'require', or because a string was eval()ed. That was the

Re: pod/pod2usage2.t

2005-09-23 Thread Rafael Garcia-Suarez
H.Merijn Brand wrote: On Thu, 22 Sep 2005 10:45:20 +0100, Nicholas Clark [EMAIL PROTECTED] wrote: On Thu, Sep 22, 2005 at 11:43:44AM +0200, H.Merijn Brand wrote: On Thu, 22 Sep 2005 10:27:30 +0200, H.Merijn Brand [EMAIL PROTECTED] wrote: make test_harness succeeds, make test

Re: [PATCH] Fix to PERL_DEBUG_COW

2005-09-23 Thread Rafael Garcia-Suarez
On 9/23/05, Steve Peters [EMAIL PROTECTED] wrote: Change #25571 has caused the smokes to be broken when building with -DPERL_DEBUG_COW. The following patch fixes the builds. Thanks, applied as change #25590. --- sv.h.old2005-09-22 10:02:52.0 -0500 +++ sv.h2005-09-23

Re: [PATCH] Compress::Zlib 1.40

2005-09-23 Thread Rafael Garcia-Suarez
On 9/23/05, Paul Marquess [EMAIL PROTECTED] wrote: Sync core with CPAN Thanks, applied as change #25591.

Re: kill mv-if-diff?

2005-09-24 Thread Rafael Garcia-Suarez
On 9/24/05, Nicholas Clark [EMAIL PROTECTED] wrote: I also observe that sometimes when I edit files and rebuild, later files needlessly get rebuilt, probably because make thinks something is out of date, something that never gets updated, probably because it's not being I don't get your

Re: kill mv-if-diff?

2005-09-24 Thread Rafael Garcia-Suarez
On 9/24/05, Nicholas Clark [EMAIL PROTECTED] wrote: IIRC the following happens: I edit (say) sv.c I run make make reasons that a lot of things are out of date. Specifically, 1: all the Unicode tables are out of date with respect to lib/Config.pm 2: because that in turn is out of date

<    5   6   7   8   9   10