[PATCH] The return of the consting

2005-09-13 Thread Andy Lester
I'm almost done with all my NN/NULLOK excitement in embed.fnc. Here's a patch of accumulated goodness. Nothing exciting. xoxo, Andy -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance diff -pur bleadperl/embed.fnc bw/trunk/embed.fnc --- bleadperl/embed.fnc 2005-09-01

Perl 5 Bug Summary

2005-09-13 Thread Robert Spier
Perl5 Bug Summary Requestors with most open tickets [EMAIL PROTECTED] 39 Nicholas Clark39 Mark-Jason Dominus25 Stas Bekman 15 David Dyck14 [EMAIL PROTECTED] 13 Tom Christiansen 12 Dan Jacobson 9 Zefram

Re: [PATCH] The return of the consting

2005-09-13 Thread H.Merijn Brand
On Tue, 13 Sep 2005 01:08:36 -0500, Andy Lester [EMAIL PROTECTED] wrote: I'm almost done with all my NN/NULLOK excitement in embed.fnc. Here's a patch of accumulated goodness. Nothing exciting. Thanks, applied (including regen) as patch #25397 -- H.Merijn BrandAmsterdam Perl

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: [EMAIL PROTECTED] vms/vms.c Perl_cando fix.

2005-09-13 Thread H.Merijn Brand
On Mon, 12 Sep 2005 23:56:36 -0400, John E. Malmberg [EMAIL PROTECTED] wrote: The VMS specific Perl_cando() on open file handles was returning the results for a previous file that a stat()/lstat() that was done instead of for the open file. Thanks, applied as change #25398 This was

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.

Questions regarding Perl instrumentation

2005-09-13 Thread Alexander Kolbasov
Dear Perl internals experts, I am new to this list and to Perl internals, so please keep this in mind. 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

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: Stop fiddling with the bloody grammar (was Re: exempli gratia is e.g.)

2005-09-13 Thread David Landgren
Michael G Schwern wrote: [...] While I thank you very much for the effort to scan the documentation to find grammar nits, and I realize Open Source is about scratching an itch, software is about change management. Which is why I say to stop fiddling with the (ie/i.e.)'s, the (eg/e.g.)'s, the

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

2005-09-13 Thread Dominic Dunlop
On 2005–09–13, at 08:52, Rafael Garcia-Suarez wrote: 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

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Alan Burlison
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 at the appropriate places. By

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 at

RE: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Paul Marquess
From: Sastry [mailto:[EMAIL PROTECTED] Hi I agree with you Dan, I was referring to another test lib/DBM_Filter/t/encode.t where it encodes the k/v pairs using the code page iso-8859-16 and the normal DBM_Filter to store and verify the same. Other tests in DBM_Filter are working fine on

RE: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Paul Marquess
From: Dan Kogai [mailto:[EMAIL PROTECTED] On Sep 13, 2005, at 07:42 , Paul Marquess wrote: Dan, I'm not sure what is going on here. Can I walk through one of the failing test to see if it rings any bells with you? Before that I would like to make sure if I understand the scope of the

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Nicholas Clark
On Tue, Sep 13, 2005 at 10:02:38AM +0200, Rafael Garcia-Suarez wrote: 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

RE: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Paul Marquess
From: Sastry [mailto:[EMAIL PROTECTED] HI Paul On 9/13/05, Paul Marquess [EMAIL PROTECTED] wrote: From: Sastry [mailto:[EMAIL PROTECTED] Hi I agree with you Dan, I was referring to another test lib/DBM_Filter/t/encode.t where it encodes the k/v pairs using the code page

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 Dave Mitchell
On Tue, Sep 13, 2005 at 11:14:07AM +0200, Rafael Garcia-Suarez wrote: 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,

Re: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Sastry
Hi I agree with you Dan, I was referring to another test lib/DBM_Filter/t/encode.t where it encodes the k/v pairs using the code page iso-8859-16 and the normal DBM_Filter to store and verify the same. Other tests in DBM_Filter are working fine on EBCDIC platform. Do you remember our previous

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

2005-09-13 Thread Luke Closs
On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT wrote: [EMAIL PROTECTED] - Fri Jul 01 14:56:29 2005]: Hello, It looks like Apple has changed how ar works in xcode 2.1. As a result, Configure thinks that ar can generate random libraries. This breaks linking

how to deal with static c++ object

2005-09-13 Thread Dongxu Ma
Hi all, In some case, a class will have a static object for special purpose. For instance: static foo foo::bar I want to port this object to perl by wrapping it as a sub like this: foo * foo::bar() CODE: RETVAL = (foo::bar); OUTPUT: RETVAL This will always cause a segfault while invoking the

Re: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Sastry
HI Paul On 9/13/05, Paul Marquess [EMAIL PROTECTED] wrote: From: Sastry [mailto:[EMAIL PROTECTED] Hi I agree with you Dan, I was referring to another test lib/DBM_Filter/t/encode.t where it encodes the k/v pairs using the code page iso-8859-16 and the normal DBM_Filter to store and

Re: Encode on EBCDIC patch( Doesn't Work)

2005-09-13 Thread Sastry
Hi Paul The other tests with DBM_Filter are working fine on EBCDIC platform. The only problem is with lib/DBM_Filter/t/encode.t and I guess Dan can address this! Dan! The workaround for encode() is not complete. Can you recheck it? -regards Sastry On 9/13/05, Paul Marquess

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Alan Burlison
Rafael Garcia-Suarez wrote: I think it's worth investigating doing it in a module, providing an alternate runloop or only changing the pp functions for entersub and leavesub. Putting probes around every op dispatch has a very noticeable effect, the reason for the per-sub probes was it

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

Smoke [5.9.3] 25398 FAIL(F) bsd/os 4.1 (i386/1 cpu)

2005-09-13 Thread kane
Automated smoke report for 5.9.3 patch 25398 fixit.xs4all.nl: Pentium II (i386/1 cpu) onbsd/os - 4.1 using cc version egcs-2.91.66 19990314 (egcs-1.1.2 release) smoketime 3 hours 56 minutes (average 1 hour 58 minutes) Summary: FAIL(F) O = OK F = Failure(s), extended

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

2005-09-13 Thread Andy Dougherty
On Mon, 12 Sep 2005, Luke Closs wrote: On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT 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

RE: Zlib 2.00_03 / Blead 25366 on VMS + patched vms.c

2005-09-13 Thread Paul Marquess
From: John E. Malmberg [mailto:[EMAIL PROTECTED] I finally got a download of 2.00_03, and I have locally patched vms.c to fix the fstat()/Perl_cando() issue. So here are the results. I probably will not have time to investigate the failure tonight as I need to submit the patch to vms.c.

Re: [EMAIL PROTECTED] VMS fixes for cbuilder

2005-09-13 Thread Ken Williams
On Sep 12, 2005, at 11:12 PM, John E. Malmberg wrote: Ken Williams wrote: Thanks, John. I've applied your patch (in a slightly modified form) and released a new beta, 0.13_01. It would be great if you (and/or a couple other people on the vmsperl list) could try it out, and then I can

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

2005-09-13 Thread H.Merijn Brand
On Tue, 13 Sep 2005 07:52:06 -0400 (EDT), Andy Dougherty [EMAIL PROTECTED] wrote: On Mon, 12 Sep 2005, Luke Closs wrote: On Sat, Sep 10, 2005 at 10:40:25PM -0700, Steve Peters via RT wrote: Has anyone looked at this patch yet? I'm assuming that since it was written against 5.6.1

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

File::Spec::VMS enhancements.

2005-09-13 Thread John E. Malmberg
Ken Williams wrote: On Sep 12, 2005, at 11:12 PM, John E. Malmberg wrote: It looks like I am finally close to starting to get the file spec handling in Perl up to speed with current VMS versions. In File::Spec::VMS, would it be appropriate to use a syntax like below to switch VMS into

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

2005-09-13 Thread Randal L. Schwartz
Michael == Michael G Schwern [EMAIL PROTECTED] writes: Michael I'm going to come at this from a different angle. One that Michael says leave it as ie/eg or perhaps simply who cares? Michael because the effort to correct all the ie's and eg's and it's Michael and [ae]ffects just doesn't seem

Re: how to deal with static c++ object

2005-09-13 Thread David Nicol
Dongxu: please refer to http://inline.perl.org/inline/home.html On 9/13/05, Dongxu Ma [EMAIL PROTECTED] wrote: I want to port this object to perl by wrapping it as a sub like this: Another question, is there any better way to port a class method which

RE: [PATCH] The return of the consting

2005-09-13 Thread Robin Barker
Andy I still get the following warnings related to attributes Robin gv.c: In function `Perl_gv_init': gv.c:167: warning: ignoring return value of `Perl_start_subparse', declared with attribute warn_unused_result op.c: In function `Perl_newCONSTSUB': op.c:4613: warning: null argument where

Re: how to deal with static c++ object

2005-09-13 Thread Nicholas Clark
On Tue, Sep 13, 2005 at 03:08:51PM +0800, Dongxu Ma wrote: Hi all, Another question, is there any better way to port a class method which returns an object. Like this: foo foo::bar2() since the returned object is local, which is usually allocated on stack, I have to new an object on

chainsaw patch the bloody grammar

2005-09-13 Thread David Nicol
I replaced all instances of e\.?g\.? and i\.?e\.? with for example and that is in a copy of 5.9.2 the 92K patch is available at http://cronos.advenge.com/perl/IE_EG.patch in the hopes that someone else will go through it and add commas, and remove Iitalics as needed. -- David L Nicol

Re: how to deal with static c++ object

2005-09-13 Thread Dave Mitchell
On Tue, Sep 13, 2005 at 03:08:51PM +0800, Dongxu Ma wrote: In some case, a class will have a static object for special purpose. For instance: static foo foo::bar I want to port this object to perl by wrapping it as a sub like this: foo * foo::bar() CODE: RETVAL = (foo::bar); OUTPUT:

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

2005-09-13 Thread Nicholas Clark
On Fri, Jul 01, 2005 at 09:56:31PM -, Luke Closs wrote: # New Ticket Created by Luke Closs # Please include the string: [perl #36448] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36448 Hello, It

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Paul Johnson
On Tue, Sep 13, 2005 at 01:29:41PM +0200, Rafael Garcia-Suarez wrote: 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

Re: 5.8.8

2005-09-13 Thread Nicholas Clark
On Mon, Sep 12, 2005 at 12:28:52PM -0500, Steve Peters wrote: The only other exception would be changes to re-entrant functions through reentr.pl, where the generated code is quite different than that in bleadperl. Until and unless one of us figures out how to merge the code. Nicholas Clark

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

2005-09-13 Thread Dominic Dunlop
On 2005–09–13, at 09:45, Dominic Dunlop wrote: The most precise way to make the failing test pass on Darwin would be to have lib/locale.t skip locales with names containing eu_ES for Darwin versions between 8.0.0 and 8.2.0. No, make that 8.3.0: apparently the next Mac OS update is pretty

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

Pod Indexing Project Status and Plans

2005-09-13 Thread Ivan Tubert-Brohman
Hi, Here's the current status for the Pod Indexing Project. SUMMARY * The deadline for perl-5.8.8 is 2005-10-16 * 13 files have been indexed so far (1685 entries) * Pod-Index-0.12 is available on CPAN * Please try the online demo at http://pod-indexing.annocpan.org/perldoc-k.cgi . This is

[perl #37156] perl-5.8.7 doen't compile on IA64

2005-09-13 Thread John Damm Soerensen
# New Ticket Created by John Damm Soerensen # Please include the string: [perl #37156] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37156 Just to advice you about a problem with IA64 gcc-3.2.3-47 and perl-5.8.7,

[perl #37162] Perl -- Make test errors..

2005-09-13 Thread Sharma, Rahul
# New Ticket Created by Sharma, Rahul # Please include the string: [perl #37162] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37162 Hello, Can you please let m know if there is any known resolution for the below.

[perl #37161] thread ignores :utf8 file i/o discipline

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

[perl #37163] dprofpp array subscript error

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

Re: [EMAIL PROTECTED] VMS fixes for cbuilder

2005-09-13 Thread John E. Malmberg
Ken Williams wrote: On Sep 12, 2005, at 11:12 PM, John E. Malmberg wrote: Ken Williams wrote: Thanks, John. I've applied your patch (in a slightly modified form) and released a new beta, 0.13_01. It would be great if you (and/or a couple other people on the vmsperl list) could try it

Re: Questions regarding Perl instrumentation

2005-09-13 Thread Alexander Kolbasov
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 at the appropriate

Re: File::Spec::VMS enhancements.

2005-09-13 Thread John E. Malmberg
Tim Maher wrote: On Tue, Sep 13, 2005 at 09:53:15AM -0400, John E. Malmberg wrote: Ken Williams wrote: Extended characters in pathnames: The traditional VMS mode ... [0..9],[A..Z],[-$_] I'm admittedly a few decades past the peak of my expertise in VMS, but shouldn't the ; preceding a

Re: Zlib 2.00_03 / Blead 25366 on VMS + patched vms.c

2005-09-13 Thread John E. Malmberg
Paul Marquess wrote: From: John E. Malmberg [mailto:[EMAIL PROTECTED] I finally got a download of 2.00_03, and I have locally patched vms.c to fix the fstat()/Perl_cando() issue. So here are the results. ext/Compress/Zlib/t/16oneshot.t fails at 1460 and dies. not ok 1460 - Compressed ok

perl5.004_05 compile problems

2005-09-13 Thread Shaun Daredia
I am trying to compile perl5.004_05 under SLES9 SP2 and I am seeing the following message. make: *** No rule to make target `built-in', needed by `miniperlmain.o'. Stop. Here is the uname output. Linux gdead 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

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

2005-09-13 Thread Joshua Hoblitt
I've been working on a Pod processor (likely to be called Pod::Tidy) and I've run across what I at first thought might be a bug in Pod::Parser. After re-reading perlpodspec I now suspect I've found a quirk in Pod::Perldoc. Consider the following example, Pod::Parser treats the lines with bar and