Re: the _ prototype

2005-01-30 Thread Rafael Garcia-Suarez
David Nicol wrote: Was there ever a consensus reached on the _ prototype, which would be the last in a prototype signature and would become $_ when not provided? Recollecting... Hmm, I remember Juerd proposed to introduce a new pseudopackage %CALLER:: for some problems brought by lexical $_ :

Re: h2hp: 2 fix

2005-01-30 Thread Rafael Garcia-Suarez
Olivier Thauvin wrote: Here a patch for h2ph: Thanks, applied as change #23899 to bleadperl (to utils/h2ph.PL, actually).

Re: [perl #33942] perlre: /ms: add $/ hint

2005-01-27 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: For reasons that I don't understand, perl5-porters doesn't actually maintain the faq; see How to contribute in perlfaq.pod. Because FAQs often come from discussions and questions on c.l.p.misc and c.l.p.moderated, newsgroups that few of us monitor actively. --

Re: [PATCH] libperl leaks a THREAD_KEY each time it is reloaded

2005-01-27 Thread Rafael Garcia-Suarez
Gisle Aas wrote: For a threaded perl the thread key is allocated on the first call to perl_alloc() but there is nothing that frees this key on Unix. On Windows we watch for the DLL_PROCESS_DETACH event and then release the key. This patch implements the same for other platforms using

Re: [patch] decrufting OptreeCheck stuff

2005-01-27 Thread Rafael Garcia-Suarez
Jim Cromie wrote: Stephen McCamant wrote: JC folks, JC attached patch does some much needed cleanup of OptreeCheck.pm JC and the test files that use it. JC 3. Concise.pm tweaks The changes to B::Concise seem unrelated to the intent of the rest of the patch; perhaps it would have been

Re: encoding neutral unpack

2005-01-27 Thread Rafael Garcia-Suarez
Ton Hospel wrote in perl.perl5.porters : This patch that makes unpack completely independent from whether the string happens to be upgraded or not. As Nicholas is working on pp_pack currently, your patches will need adaptations. Moreover it touches Encode, which is supposed to work on 5.8.x

Re: [PATCH] BigInt mbi_rand.t failings

2005-01-25 Thread Rafael Garcia-Suarez
Tels wrote: Fix, fix, fix, fix the stupid bugs... the attached patch *should* cure the mbi_rand.t failings that are so common after the v1.74 integration of BigInt. I say should, because all tests pass before/after on my system, so it is a bit hard to judge. But the little bone from my left

Re: Module::Build integration (was: Re: [RFC] More core integration)

2005-01-24 Thread Rafael Garcia-Suarez
Ken Williams wrote: There are a few loose ends that would be nice to tie up first, or at least during integration: 1) M::B prefers to use ExtUtils::ParseXS, which is a modularized version of a snapshot of xsubpp-we need to figure out what to do with that first: preferable update,

Re: [perl #33892] Add Interix support

2005-01-24 Thread Rafael Garcia-Suarez
Todd Vierling wrote: On Fri, 21 Jan 2005, Rafael Garcia-Suarez via RT wrote: Could you test whether the development version (currently self-known as 5.9.2) compiles and runs correctly on your platform ? With one additional change (see below), I've verified that make test on current

Re: uc($long_utf8_string) exhausts memory

2005-01-24 Thread Rafael Garcia-Suarez
Dave Mitchell wrote: Merci, appliqués en tant que changement #23859 Usually native speakers seem to use the word révision, changement seems a bit weird here. (OTOH I think the Académie hasn't ruled on the Official Word yet :-) -- They want to see the views of Dublin from the top of Nelson's

Re: [PATCH] Test::Harness::Straps::_default_inc shell problem

2005-01-24 Thread Rafael Garcia-Suarez
Craig A. Berry wrote: Several of the Test::Harness tests now fail on VMS with the following warning: Can't find string terminator ] anywhere before EOF at -e line 1. The problem is that when a command is piped to the shell and that command has a newline character embedded in it, the part

Re: [perl #33906] Missing \\ in perlre

2005-01-24 Thread Rafael Garcia-Suarez
Andrew (via RT) wrote: In perlre there is a section entitled Creating custom RE engines. The sample code given maps \\ to \ inside regular expressions and thus prevents you from using \\ to represent a literal \. I think this is unintentional and a patch is included below. Good catch. It

Re: [PATCH bleadperl] Re: [perl #31924] %INC caching failure-case problem

2005-01-24 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: My last try at arguing against this; hereafter I'll stay quiet. The following: system q!echo 'sub foo{bar} die'foo.pl!; eval q!require foo.pl!; print foo(); delete $INC{foo.pl}; system q!echo 'sub foo{baz} 1'foo.pl!; require foo.pl; print foo();

Re: Module export symbols not getting imported (Perl5.8.0)

2005-01-24 Thread Rafael Garcia-Suarez
Hal Morris wrote: I'm running on Redhat Linux version 9.0. I'm having a rash of previously working code breaking when module exported symbols no longer get imported to another module that 'uses' them. The situation looks like: main perl file: ... use A; use B; A contains 'use

Re: Perl test coverage online

2005-01-24 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: On Mon, Jan 24, 2005 at 10:52:44AM -0600, Steve Peters wrote: With a little help from Paul Johnson a while back, I was able to use Devel::Cover's gcov2perl to put Perl's current C test coverage online. You can check it out at

Re: [PATCH] doc SVt_PVLV = SVt_PVGV change version in B.pm

2005-01-21 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: Anybody feel like applying this patch to clarify in the B doc when the sv inheritance tree changed? Thanks, applied as #23841. On Sun, Dec 19, 2004 at 11:57:56PM -0800, Yitzchak Scott-Thoennes wrote: The reordering of SVt_ flags hasn't gone (and shouldn't go)

Re: [PATCH] File::Find dies on find({follow=1, ...}) on Win32

2005-01-21 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: On Mon, Dec 20, 2004 at 10:36:23AM -0800, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: On Mon, Dec 20, 2004 at 03:57:48PM +0100, Rafael Garcia-Suarez [EMAIL PROTECTED] wrote: H.Merijn Brand wrote: On Mon 20 Dec 2004 01:55, Michael G Schwern [EMAIL

Re: [PATCH bleadperl] Re: [perl #31924] %INC caching failure-case problem

2005-01-21 Thread Rafael Garcia-Suarez
Rick Delaney wrote: On Sun, Oct 10, 2004 at 03:38:35PM -, Nicholas Clark wrote: $ echo die fail.pm $ ./perl -Ilib -e 'eval use fail q{:std};; $INC{fail.pm} = fail.pm' Modification of non-creatable hash value attempted, subscript fail.pm at -e line 1. I think it's something to

Re: [Patch] [perl #32446] close leaves fd open

2005-01-21 Thread Rafael Garcia-Suarez
Steffen Ullrich wrote: perl #32446 describes a bug with perl5.8 on OpenBSD, where a STDOUT gets duped to a socket and a close(STDOUT) later leaves the socket open. Attached is a proposed and tested fix for the problem, which simply duplicates the FreeBSD code for OpenBSD. Details: In

Re: [perl #32967] [PATCH] Re: More B bugs: svref_2object

2005-01-21 Thread Rafael Garcia-Suarez
Stephen McCamant wrote: The appended documentation patch attempts to explain that one shouldn't do what you tried to do. My favourite ones :) Index: B.pm === --- B.pm (revision 18175) +++ B.pm (working copy) Thanks,

Re: [perl #33892] Add Interix support

2005-01-21 Thread Rafael Garcia-Suarez
Todd Vierling (via RT) wrote: The following diff implements support for Interix (Windows Services for UNIX) 3.5, and likely 3.0 and 3.1. Shared module and libperl support is enabled. There are probably a couple things you may find odd about this, in spite of the diff's small size, so please

Re: [perl #32503] Fix for Storable module

2005-01-21 Thread Rafael Garcia-Suarez
Steven N. Hirsch wrote: To make Storable do what it claims and properly obey the $Storable::accept_future_minor variable, this needs to happen (apparently not fixed in 5.8.3 either): --- perl-5.8.0/ext/Storable/Storable.xs.orig Sat Nov 13 17:27:53 2004 +++

Re: [RFC] More core integration

2005-01-20 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: If the goal is including M::B in 5.10, stick it in now and deal with what needs to be dealt with. Better yet, put it in 5.8.7, if necessary with all the tests marked TODO. (I don't expect anyone else to agree with that, though.) I really don't see the

Re: [perl #33173] shellwords.pl and tainting

2005-01-20 Thread Rafael Garcia-Suarez
Alexey Tourbin wrote: On Fri, Dec 24, 2004 at 03:19:40PM +0100, Rafael Garcia-Suarez wrote: [EMAIL PROTECTED] (via RT) wrote: Below is an updated version of shellwords.pl with the following changes: Thanks, applied as #23681 to blead. Hi, Here is hopefully a better (incrimental

Re: [patch] cleanup perlsfio.h

2005-01-20 Thread Rafael Garcia-Suarez
Stas Bekman wrote: this patch kills dead #if 0 defines. it's really hard to change APIs when there is a lot of junk code laying around. [attached and inlined] Index: perlsfio.h Thanks, applied as #23840.

Re: [RFC] CPANPLUS core integration

2005-01-19 Thread Rafael Garcia-Suarez
Jos I. Boumans wrote: Although i'm sure this is all correct, it actually doesn't address the issue i raised, just a symptom we observe. The real problem is, as stated in the original post: What do we do when we want to integrate modules into the core that require core XS

Re: [perl #33784] h2xs on gnutls.h

2005-01-19 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: Thanks for reporting this this can't happen bug. On Thu, Jan 13, 2005 at 02:02:26PM -, jesper @ krogh. cc wrote: When running h2xs on the headerfile from libgnutls I get: $ h2xs /usr/include/gnutls/gnutls.h Defaulting to backwards compatibility with perl

Re: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums

2005-01-19 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: The h2xs generates the following part of Makefile.PL for both #define and enum constants: I suppose this is a duplicate of bug #32491, which has been fixed by patch 23652. (see http://public.activestate.com/cgi-bin/perlbrowse?patch=23652 )

Re: [perl #8254] [PATCH]Incorrect dependencies in ext/B/Makefile.PL

2005-01-19 Thread Rafael Garcia-Suarez
Steve Peters via RT wrote: [EMAIL PROTECTED] - Wed Jan 16 01:11:38 2002]: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.33 running under perl v5.6.1. - [Please enter your

Re: [PATCH] Make Data::Dumper work when dynamic extensions are not available

2005-01-19 Thread Rafael Garcia-Suarez
Jos I. Boumans wrote: currently, Data::Dumper has a pure-perl interface, but still unconditionally loads XSLoader. When run from miniperl, or any other perl that doesn't have dynamic loading enabled, this will cause the following error: $ ./miniperl -Ilib

Re: [PATCH] op/stat.t test 9 failing on recent cygwin snapshots

2005-01-19 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: As of the 20050114 cygwin snapshot, chmod() correctly updates a file's ctime. This is causing op/stat.t test 9 to fail (at least on NTFS). The following fixes it (not thate $funky_FAT_timestamps is only true for cygwin). --- perl/t/op/stat.t.orig

Re: [RFC] More core integration

2005-01-19 Thread Rafael Garcia-Suarez
Jos I. Boumans wrote: As outlined in another thread, I'm currently creating a patchset to add CPANPLUS to the core. This has a few consequences however, which would necessitate (or prefer) the adoptation of a few other modules. Some of them we knew about already, others are here for

Re: [perl #33844] Re: threaded Perl 5.8.6 does not compile on a Linux Opteron AMD 64 bit machine...

2005-01-19 Thread Rafael Garcia-Suarez
Norbert Gruener (via RT) wrote: Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=linux, osvers=2.4.24, archname=x86_64-linux-thread-multi uname='linux amd-1 2.4.24 #1 smp wed jan 21 09:28:16 cet 2004 x86_64 unknown ' config_args='' The

Re: [RFC] More core integration

2005-01-19 Thread Rafael Garcia-Suarez
Nick Ing-Simmons wrote: Jos I. Boumans [EMAIL PROTECTED] writes: By not adding it, CPANPLUS is unable to detect whether a module in an older version of perl is actually part of core or not, which is essential for dependency resolving and the building of distributions[1].

Re: [RFC] More core integration

2005-01-19 Thread Rafael Garcia-Suarez
Jos I. Boumans wrote: Worry here is M::B has a way to go yet for building XS modules. I am wary of bundling it until it is stable. And i think, so is ken.. it's easy enough to mark the tests as to be skipped if $ENV{PERL_CORE} ! eval { require M::B; 1 } That seems to be a better

Re: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums

2005-01-19 Thread Rafael Garcia-Suarez
Noah wrote: On Wed, Jan 19, 2005 at 12:30:51PM +0100, Rafael Garcia-Suarez wrote: [EMAIL PROTECTED] (via RT) wrote: The h2xs generates the following part of Makefile.PL for both #define and enum constants: I suppose this is a duplicate of bug #32491, which has been fixed

Re: [RFC] CPANPLUS core integration

2005-01-19 Thread Rafael Garcia-Suarez
Horsley Tom wrote: I've been watching this thread from the peanut gallery out here, and have some general reactions to various points that have been made: I love graphic metaphors. I'm sure fixing the build procedures is a monumental pain in the patoot, but it also seems like the right

Re: CPANPLUS core integration

2005-01-18 Thread Rafael Garcia-Suarez
Andy Dougherty wrote: On Tue, 18 Jan 2005, Chip Salzenberg wrote: According to Jos I. Boumans: One of the solutions suggested was to use miniperl to build perl first and use perl to build the extensions (rather than miniperl)... That'd be an interesting trick, seeing as how perl is

Re: [PATCH] building win32 perl with cygwin's mingw

2005-01-17 Thread Rafael Garcia-Suarez
Steve Hay wrote: There is a separate Errno distribution on CPAN (by Graham Barr), but Porting/Maintainers.pl lists Errno as being maintained by p5p #not gbarr and the CPAN field is set to 0, meaning no valid CPAN release. I take it this means that it is OK to patch it in blead? If so,

Re: PERL5LIB broken in some cases?

2005-01-13 Thread Rafael Garcia-Suarez
Ken Williams wrote: A user on the Module::Build list has shown me a shell transcript from Fedora Core 3 where setting PERL5LIB has results contrary to the documentation. He says: It appears that it's the part of perl that uncareful vendors are the most likely to patch.

Re: [PATCH] Enhancement of assignment op

2005-01-13 Thread Rafael Garcia-Suarez
Shinya Hayakawa wrote: Is there any objections to use ||= op instead of writing the following code? @ary = (...) unless @ary; @ary or @ary = (...); This means enabling @ary ||= (...); as well as =, //=; I don't know, @ary ||= @list; just feels weird to me. But within acceptable

Re: Bug#286905: perl-modules: File::Path::rmtree makes setuid

2005-01-12 Thread Rafael Garcia-Suarez
How does this relate to the Debian patch 22_fix_file_path for CAN-2004-0452 ? which I'm pasting below. That said, an implementation of rmtree() that uses /bin/rm isn't suitable for inclusion in perl itself. http://security.debian.org/pool/updates/main/p/perl/perl_5.6.1-8.8.diff.gz [Adapted from

Re: [PATCH] follow-up to #23765

2005-01-12 Thread Rafael Garcia-Suarez
Craig A. Berry wrote: Nicholas Clark wrote: On Thu, Jan 06, 2005 at 05:32:01PM -0600, Craig A. Berry wrote: I was about to add some more OS-specific fumblings to lib/warnings.t . . . . Thanks, applied (23765) As subsequent smoke reports have shown, one hunk of OS-specific fumbling

Re: (PATCH: Benchmark.pm, Benchmark.t) RE: IMPLICIT_SYS and Perl_ Mall oc behaviour under Win32 (out of me mory with Perls malloc?)

2005-01-12 Thread Rafael Garcia-Suarez
Orton, Yves wrote: The patch doesn't look unreasonable to me, but I don't really know enough about Benchmark to be sure. Would anyone else care to comment? I think the patch still has problems. I think it will be better to add this logic to Benchmark::countit() as well as putting it in

Re: Which file does Special Variables ($|, $% etc) parsing?

2005-01-11 Thread Rafael Garcia-Suarez
Ananth Kesari wrote: I am working on porting Perl onto NetWare. I need help for the below: Specifically, can someone tell me where the Special Variables like $|, $%, $$, $_ etc are parsed? Like which file defines the functions that will be called when the Perl parser / interpreter encouters

Re: [PATCH] follow-up to 23767

2005-01-11 Thread Rafael Garcia-Suarez
Robin Barker wrote: This patch corrects part of the previous patch and updates the documentation in Porting/pumpkin.pod Thanks, applied as #23781.

Re: Two argument bless sometimes ignores the class name?

2005-01-07 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] wrote: I've been looking for the answer to this, but I can't find it. I'm not submitting a Perl bug report because I'm not sure if this is a bug or Yet Another Perl Feature I Don't Know. Or a Perl Implementation Side Effect That Has Gone Mostly Unnoticed Until Now :)

Re: [PATCH] to improve -DCHECK_FORMAT

2005-01-07 Thread Rafael Garcia-Suarez
Robin Barker wrote: This patch improves the behaviour of building perl under -DCHECK_FORMAT to produce a properly functioning executable (passes all tests). Thanks, applied as #23767.

Re: [PATCH] Remove Carp from warnings.pm

2005-01-07 Thread Rafael Garcia-Suarez
Jim Cromie wrote: heres Tels' patch again (against 23724), this time with the missing test-file (vars_carp.t) that caused the error that I punted on yesterday. (I added -N to the diff -ru) It works for both threaded and unthreaded builds. Thanks, applied as #23768.

[PATCH] mkdir should default to $_

2005-01-07 Thread Rafael Garcia-Suarez
As Steve Lanning was observing on IRC, rmdir defaults to $_, but rmdir doesn't. A real patch would be along the lines of : (but this one seems to make mkdir non-overridable) --- opcode.pl (revision 4211) +++ opcode.pl (working copy) @@ -816,7 +816,7 @@ link link

Re: [perl #33698] bug triggered with reverse

2005-01-06 Thread Rafael Garcia-Suarez
Boris Zentner (via RT) wrote: perl -e 'print reverse Hallo' __OUTPUT__ Hallo Normal. After print, reverse comes in list context. Tested with perl 5.8.1, 5.8.4 and 5.8.6. The only way to get it working is with a assignment. perl -e 'print $x = reverse Hallo' or force scalar context with

Re: [PATCH] unnecessary rmdir in Makefile

2005-01-05 Thread Rafael Garcia-Suarez
Robin Barker wrote: make distclean tries to rmdir lib/Digest but MANIFEST includes files in lib/Digest Robin diff -ur /opt/src/perl/perl-5.8.6/Makefile.SH ./Makefile.SH --- /opt/src/perl/perl-5.8.6/Makefile.SH Thu Oct 21 16:30:02 2004 +++ ./Makefile.SH Wed Jan 5 09:40:34 2005

Re: RFC: Math::BigInt Calc vs. FastCalc

2005-01-04 Thread Rafael Garcia-Suarez
Tels wrote: I could fuse FastCalc into Calc, so that the latter tries to load FastCalc, and if it failes, just continues normally. If it works, the FastCalc routines replace the Calc ones. Advantages: * no changes in BigInt.pm at all * minimal changes in Calc to allow optional

Re: [PATCH] Math::BigInt v1.74, Math::BigRat v0.14, bignum v0.16

2005-01-04 Thread Rafael Garcia-Suarez
Tels wrote: attached is a patch to sync blead to the latest Math::* release. Thanks, applied to bleadperl as change #23739.

Re: Static linking notes --- perl5.8.6 and uClibc

2005-01-03 Thread Rafael Garcia-Suarez
Bennett Todd wrote: 2004-12-28T11:25:42 Alexey Tourbin: There seems to be a better patch for this: http://mirror.pudas.net/gentoo-x86-portage/dev-lang/perl/files/perl-5.8.2-uclibc.patch I agree, and thanks! And that patch, unlike my kludge, looks suitable for inclusion in the

Re: [perl #32562] __PACKAGE__ symbol has wrong value after evalor require

2005-01-03 Thread Rafael Garcia-Suarez
Nick Ing-Simmons wrote: Rafael Garcia-Suarez [EMAIL PROTECTED] writes: Mark-Jason Dominus (via RT) wrote: perl -le 'package D; eval q{print __PACKAGE__}' This prints main, but it should print D. This very simple patch appears to fix it : It may _change_

Re: PL_utf8locale (was Re: Smoke [5.9.2] 23714 FAIL(XF) linux 2.6.8.1-12mdk [mandrake] (i686/1 cpu))

2005-01-03 Thread Rafael Garcia-Suarez
Nicholas Clark wrote: I think that the regression tests need perl space access to PL_utf8locale to be reliable. This would probably mean creating ${^UTF8LOCALE}. Is this sane? Since PL_unicode already is (as ${^UNICODE}), I think so.

Re: [patch perlapi doc] sv_magic

2004-12-24 Thread Rafael Garcia-Suarez
Stas Bekman wrote: Care to submit a patch ? --- sv.c.orig 2004-12-23 16:24:21.255855616 -0500 +++ sv.c2004-12-23 16:27:45.305002079 -0500 @@ -5406,6 +5406,9 @@ See Csv_magicext (which Csv_magic now calls) for a description of the handling of the Cname and Cnamlen arguments.

Re: META.yml: generation

2004-12-24 Thread Rafael Garcia-Suarez
Andreas J Koenig wrote: On Fri, 24 Dec 2004 09:31:01 +0100, Jos I. Boumans [EMAIL PROTECTED] said: On Dec 24, 2004, at 5:46 AM, Ken Williams wrote: I feel like any solutions we try to hurry into CPAN to try to band-aid the problem are going to be ad-hoc and regrettable.

Re: META.yml: generation

2004-12-24 Thread Rafael Garcia-Suarez
I wrote: (/puts his hat guy responsible for the package management software at Mandrakesoft) Fourded (what's the verb for four anyway ?) I realize that this may sound harsh, given that many people are aware of this issue with mod_perl (and eventually other modules (IIRC GD has more or less

Re: Missign STATEMENT brackets in PUSHMARK

2004-12-24 Thread Rafael Garcia-Suarez
Ton Hospel wrote: While trying to do ... if (condition) PUSHMARK(SP); ... I didn't work at all until I finally realized that PUSHMARK is not protected by STMT_START and STMT_END Here is a patch for pp.h (5.8.5 version) that adds the missing cases: Thanks, applied as #23680 to blead.

Re: [perl #33173] shellwords.pl and tainting

2004-12-24 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: Below is an updated version of shellwords.pl with the following changes: Thanks, applied as #23681 to blead. - keep taint - use the local *_ = ref trick to defeat tied $_ - use my variables instead of local, and drop the now unneeded internal package -

Re: [patch perlapi doc] sv_magic

2004-12-23 Thread Rafael Garcia-Suarez
Stas Bekman wrote: --- sv.c.orig 2004-12-18 11:06:55.893699086 -0500 +++ sv.c2004-12-18 13:58:59.314545119 -0500 @@ -5404,6 +5404,10 @@ Adds magic to an SV. First upgrades Csv to type CSVt_PVMG if necessary, then adds a new magic item of type Chow to the head of the magic list.

Re: META.yml: generation

2004-12-23 Thread Rafael Garcia-Suarez
John Peacock wrote: Probably the only solution now is to make the next RC for mod_perl2 hide all of its internal modules (which don't lead seperate lives on CPAN). Then mod_perl2 could be reindexed by CPAN. This will resolve the phantom upgrade syndrome (I think) except for the case

Re: [PATCH] Data::Dumper Freezer fixes

2004-12-23 Thread Rafael Garcia-Suarez
Sam Tregar wrote: I've fixed the bugs I found in Data::Dumper's Freezer implementation. The attached patch makes the following changes: - The XS implementation no longer takes the return value from the freeze method as the object to freeze. This fixes the seg-fault when the

Re: [perl #33159] Setuid script not plain file -error message

2004-12-23 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: I recently had the problem of having the error message Setuid script not plain file with every perl script I used. However after a _really_ long time I found out what the problem was: For some reason - no I don't know - /dev/null what set suid. The fact that

Re: [patch perlapi doc] sv_magic

2004-12-23 Thread Rafael Garcia-Suarez
Stas Bekman wrote in perl.perl5.porters : Right, I didn't have the most latest blead checkout. But it's not sufficient either. Now it says: - Adds magic to an SV. First upgrades Csv to type CSVt_PVMG if necessary, then adds a new magic item of type Chow to the head of the magic

Re: META.yml: generation

2004-12-22 Thread Rafael Garcia-Suarez
Jos I. Boumans wrote: This is what we have *real* package managers for.. CPANPLUS (and CPAN.pm for that matter) already do *way* too much to figure out how to install things because of the 'just upload anything' stance the CPAN has. Too now make it able to interact with the environment to

Re: add 'since' availability tags to perlapi.pod?

2004-12-20 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: The annotate command has proven very useful in tracking down historical bits like this. Much easier than searching through old tarballs. That's an excellent information, Michael, can this be documented somewhere? (http://dev.perl.org/perl5/?) You'd have to

Re: Perl Repository Browser suggestions (was Re: add 'since' availability tags to perlapi.pod?)

2004-12-20 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: Wish List or Things I Can Do From SVN That I Can't Do On The Web Page svn annotate -rX (annotate from revision X and back) A plain annotate can only show you the last time that line was changed. The change may have been a trivial one (subroutine moved,

Re: Perl Repository Browser suggestions (was Re: add 'since' availability tags to perlapi.pod?)

2004-12-20 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: On Mon, Dec 20, 2004 at 11:09:08AM +0100, Rafael Garcia-Suarez wrote: svn diff -rX (difference between X and now) svn diff -rX:Y(difference between X and Y) I often use this to look for p5p applied patches to my modules since

Re: [PATCH] File::Find dies on find({follow=1, ...}) on Win32

2004-12-20 Thread Rafael Garcia-Suarez
H.Merijn Brand wrote: On Mon 20 Dec 2004 01:55, Michael G Schwern [EMAIL PROTECTED] wrote: On Sun, Dec 19, 2004 at 03:25:40AM -0800, Yitzchak Scott-Thoennes wrote: What's the portability trap? Not croaking on C stat $foo; -l _ , transferring the code to an OS where lstat works,

Re: [perl #32717] BeOS specific Updates

2004-12-17 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] wrote: ... Thanks, I've finally found the time to do that. Attached is a patch against blead. It also backs out the flock() emulation code I previously introduced. It doesn't make much sense to have it in Perl only, so I made it a package and released it separately, so

Re: //w

2004-12-17 Thread Rafael Garcia-Suarez
I wrote: In a bust of boredom, I quickly coded the following hack. It adds a new flag, w, to // and s///, to match only whole words. Or, more precisely, it adds \b at the beginning and to the end of the pattern. (Quick hack stuff.) It's not useful, and adds a non-backwards-compatible

Re: //w

2004-12-17 Thread Rafael Garcia-Suarez
Dave Mitchell wrote: On Fri, Dec 17, 2004 at 10:45:41AM +0100, Rafael Garcia-Suarez wrote: Thinking about it, maybe a less worthwhile addition to this would be to make (?w:foo) equivalent to \bfoo\b ... Personally I'd like to see a //a modifier added. I'm not sure what function it would

Re: Make 'pod2html --quiet' be quiet [PATCH]

2004-12-16 Thread Rafael Garcia-Suarez
Gisle Aas wrote: This is another patch by Dave Sparks found in ActivePerl only. This one has been there for 3 years. It makes 'pod2html --quiet' actually be quiet. Thanks, both patches applied as #23658.

Re: Can't locate auto/POSIX/autosplit.ix [perl #24445] [PATCH]

2004-12-16 Thread Rafael Garcia-Suarez
Andy Dougherty wrote: The require does fail, but with a warning that isn't trapped. THIS patch comes much closer to addressing the cause. --- perl-current/ext/POSIX/Makefile.PL2002-03-19 17:14:33.0 -0500 +++ perl-andy/ext/POSIX/Makefile.PL 2004-12-16 09:40:34.0

Re: [PATCH] bop.t follow-up to #23645

2004-12-16 Thread Rafael Garcia-Suarez
Craig A. Berry wrote: The new test 146 has been failing on both VMS and Win32. At least on VMS, the failure is because it's not accounting for the newline you are guaranteed to get at EOF, and I suspect it's the same issue on Win32. After the attached, the test passes on VMS. Thanks, applied

//w

2004-12-16 Thread Rafael Garcia-Suarez
In a bust of boredom, I quickly coded the following hack. It adds a new flag, w, to // and s///, to match only whole words. Or, more precisely, it adds \b at the beginning and to the end of the pattern. (Quick hack stuff.) It's not useful, and adds a non-backwards-compatible feature to the

Re: [ANNOUNCE] ExtUtils::MakeMaker 6.25

2004-12-15 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: This release is mostly to complete the merge of bleadperl and maint changes. Hopefully now maint can finally upgrade its MakeMaker. Meanwhile, blead upgraded.

Re: [ANNOUNCE] Test::Simple/More/Builder 0.54

2004-12-15 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: http://svn.schwern.org/svn/CPAN/Test-Simple/trunk or svn://svn.schwern.org/CPAN/Test-Simple/trunk or http://www.pobox.com/~schwern/src/Test-Simple-0.54.tar.gz or a CPAN near you. Thanks, bleadperl upgraded (as change #23654).

Re: [perl #33045] getlogin returns empty string when STDIN is present

2004-12-15 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: If perl has something on STDIN, getlogin() returns empty (undefined) result (at least on my platform), whereas getpwuid() works fine. Tested with various 5.8.x versions. Here is what it looks like: pajas$ perl -e 'print getlogin(),\n' /dev/null pajas$

Re: [perl #3100] NaN passed to gcvt [PATCH]

2004-12-15 Thread Rafael Garcia-Suarez
Andy Dougherty wrote: Still, the following patch should be harmless and safe to apply. It simply instructs Configure to prefer sprintf() on SCO. diff -r -u perl-current/hints/sco.sh perl-andy/hints/sco.sh --- perl-current/hints/sco.sh Sun Jun 24 10:21:37 2001 +++ perl-andy/hints/sco.sh

Re: [perl #3097] Re: SCO5 XS dyn loading fails [PATCH]

2004-12-15 Thread Rafael Garcia-Suarez
Andy Dougherty wrote: This patch looks fine and should be applied. The original SCO user who supplied the plain -B version probably was using a version of the compiler that passed along unrecognized switches to the linker. I'd expect that the -Wl,-B version should be safe across a wider

Re: Security patch from Debian?

2004-12-15 Thread Rafael Garcia-Suarez
Brendan O'Dea wrote: On Wed, Dec 01, 2004 at 09:05:36PM -0500, Michael G Schwern wrote: I had a peek last night at the change log of Debian's perl. Saw some security fixes I don't remember having seen come back to p5p. Yes, a bunch of patches for insecure tempfile use which trustix has

Re: [perl #32401] seg fault when emptying main namespace in BEGIN, INIT, CHECK, or END block

2004-12-14 Thread Rafael Garcia-Suarez
John Peacock wrote: Yes, it is likely that the same problem exists with both of those as well (although they may already be fixed). I would go so far as to speculate that the problem cases are all ones where Perl itself is communicating with the outside world. I'm just suggesting that

Re: [perl #32401] seg fault when emptying main namespace in BEGIN, INIT, CHECK, or END block

2004-12-14 Thread Rafael Garcia-Suarez
John Peacock wrote: I don't know, I think it's pretty daft to nuke $:: like that in the first place. It might be justifiable to just forbid the mass deletion itself and force anyone who wants to, to walk the hash and delete the keys manually. Is that harder to code? Won't help : $ perl

Re: broken PAUSE indexer? META.yaml is ignored?

2004-12-14 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: On Mon, Dec 13, 2004 at 05:35:05PM -0500, Stas Bekman wrote: Now that gozer has forwarded to me the indexer report, we get: User: GOZER (Philippe M. Chiasson) Distribution file: mod_perl-2.0.0-RC1.tar.gz Number of files: 875 *.pm

Re: [perl #33003] Core dump on simple instruction

2004-12-14 Thread Rafael Garcia-Suarez
Michael G Schwern wrote: You were correct in reporting the bug, nothing should make Perl dump core (unless, of course, you ask it to). And as seen from all the discussion on this bug it probably was fixed incidentally as opposed to explicitly. Just want to remind folks there is a test

Re: Breadth first inheritance?

2004-12-14 Thread Rafael Garcia-Suarez
Yuval Kogman wrote: Howdy... I'm sufferring from MI headaches, which would all go away if search into ISA could be breadth first. I have FishStick Food Whatever Fish Animal and the normal super path for

Re: [perl #32401] seg fault when emptying main namespace in BEGIN, INIT, CHECK, or END block

2004-12-14 Thread Rafael Garcia-Suarez
Jeff Lavallee (via RT) wrote: Perl crashes (seg fault) when emptying the main namespace in any of the special blocks. I.E. [EMAIL PROTECTED]:~ $ perl -e 'CHECK{%::=()}' Segmentation fault [EMAIL PROTECTED]:~ $ perl -e 'BEGIN{%::=()}' Segmentation fault [EMAIL PROTECTED]:~ $ perl -e

Re: [perl #32491] h2xs incorrectly parses enums with implicit values

2004-12-14 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: Consider the following enum: typedef enum xxx { XXX_A, /* value A */ XXX_B/* Value B */ } xxx_t; It is not parsed by h2xs correctly. nd no code is generated for it. The problem is here: for my $item (split

Re: [perl #32401] seg fault when emptying main namespace in BEGIN, INIT, CHECK, or END block

2004-12-14 Thread Rafael Garcia-Suarez
John Peacock wrote: I got bitten by this a few times too (while spelunking in the core to add an overloaded object, re: version objects). If the problem case is $@/PL_errgv, can't we just refuse to delete that out of $:: instead of trying to make a more general solution? The only time

Re: modf chainsaw?

2004-12-14 Thread Rafael Garcia-Suarez
H.Merijn Brand wrote: /me calls for the 5.6 pumpking: Acme? I'd prefer to avoid chainsawing out modfl from Configure, mostly for sentimental reasons. -- A soft qualm, regret, flowed down his backbone, increasing. Will happen, yes. Prevent. Useless: can't move. -- Ulysses

Re: [PATCH] t/op/taint.t follow-up to #23635

2004-12-13 Thread Rafael Garcia-Suarez
Craig A. Berry wrote: Michael's patch reversed the skippage criterion on tests 10 and 11. The patch here restores it. Thanks, applied as #23641.

Re: Can't locate auto/POSIX/autosplit.ix

2004-12-13 Thread Rafael Garcia-Suarez
Jarkko Hietaniemi wrote: I'm compiling 5.8.6 for my various boxes and was reminded of this warning that has been there for quite some time now (I think Alan Burlison noticed it many moons ago). The below example is from Mac OS X but I'm also seeing it in Tru64. The problem, whatever it is,

Re: [PATCH] perlipc typo

2004-12-13 Thread Rafael Garcia-Suarez
Brendan O'Dea wrote: Fix error in perlipc documentation of |-. --bod diff -Naur --exclude=debian perl-5.8.4.orig/pod/perlipc.pod perl-5.8.4/pod/perlipc.pod --- perl-5.8.4.orig/pod/perlipc.pod 2004-04-22 01:45:29.0 +1000 +++ perl-5.8.4/pod/perlipc.pod2004-12-11

Re: [perl #24343] [PATCH] -w vs. -s

2004-12-13 Thread Rafael Garcia-Suarez
Steve Peters via RT wrote: [EMAIL PROTECTED] - Thu Oct 30 02:48:31 2003]: Maybe as a quick solution, on the perlrun manpage's -s description, note what might happen when one uses -w, and how to workaround. Here's a patch for perlrun to clear this up. --- perlrun.pod.origTue Dec

Re: fix for Sys::Syslog

2004-12-13 Thread Rafael Garcia-Suarez
Yitzchak Scott-Thoennes wrote: On Thu, Dec 02, 2004 at 06:27:17PM -0800, Joshua Richardson wrote: I hope I'm sending this mail to the right person. I'm using your Sys::Syslog module for PERL, and noticed a possible small bug. When Sys::Syslog constructs the msg to send to syslog, it

Re: [perl #32383] DProf breaks List::Util::shuffle

2004-12-13 Thread Rafael Garcia-Suarez
Jarkko Hietaniemi (via RT) wrote: $ cat sd.pl use List::Util qw(shuffle); shuffle; $ perl sd.pl $ perl -d:DProf sd.pl Modification of a read-only value attempted at sd.pl line 2. With blead, you get a more, er, porter-friendly error : $ bleadperl -d:DProf -e 'use List::Util

<    2   3   4   5   6   7   8   9   10   >