I think this is a bug in Perl itself that was introduced with
5.8.0 and is still present. It can be cut down to this code:
#!perl -wl
use Tie::Hash;
tie %h, Tie::StdHash;
$a = 3.55;
$_ = $a + 0;
$h{a} = $a;
print $h{a}, , , @h{qw(a)};
__END__
[EMAIL PROTECTED] ~ $
On 2005-07-06, at 10:26:31 +0100, Nicholas Clark wrote:
Which is the embedding configuration that needs new functions added at the
end of embed.fnc to maintain binary compatibility? The one that this comment
in embed.fnc refers to?
: New global functions should be added at the end for
On 2005-06-27, at 13:19:22 -0500, Steve Peters wrote:
/*
* =for apidoc strlcpy
*
* This function concatenates Csrc to Cdst up to a maximum
* size of Csize, and guarantees that Cdst is NUL-terminated
* with a size no larger than Csize.
*
* This function is included in Perl
On 2005-06-23, at 14:42:21 +0100, Nicholas Clark wrote:
On Fri, Jun 17, 2005 at 09:55:37PM -0600, Jim Cromie wrote:
I left the api-pod as is, since folks shouldnt be encouraged to choose
5.9 over compatibility.
But isn't that what Devel::PPPort is for? Providing edible cake.
Yes. :-)
On 2005-06-15, at 14:43:11 +0200, Rafael Garcia-Suarez wrote:
Jeff 'japhy' Pinyan wrote:
On Jun 15, Paul Marquess said:
Consider this code
for (1 .. 3) {
my $outer = 0 ;
sub mkClosure { sub { $outer = 1234 } }
{ mkClosure() }();
On 2005-06-11, at 00:46:10 +0100, Nicholas Clark wrote:
On Sat, Jun 11, 2005 at 01:36:22AM +0200, Marcus Holland-Moritz wrote:
On 2005-06-10, at 21:11:51 +0100, Nicholas Clark wrote:
19:41 @mhx So, only the %untie problem remains.
Not my fault! Not me!
It's you
On 2005-06-10, at 11:33:42 +0100, Nicholas Clark wrote:
On Thu, Jun 09, 2005 at 11:29:52PM +0200, Marcus Holland-Moritz wrote:
-des -Dusedevel -Uinstallusrbinperl -Dusethreads -Duse64bitint
-Duselongdouble -Doptimize=-g3 -Uversiononly -Aappend:ccflags=
-DDEBUG_LEAKING_SCALARS
On 2005-06-10, at 21:11:51 +0100, Nicholas Clark wrote:
19:41 @mhx So, only the %untie problem remains.
Not my fault! Not me!
It's you! ;-)
Change #24660, to be exact.
#!perl -w
use Tie::Hash;
use Test::More 'no_plan';
use Devel::Peek;
sub t {
is (keys %h, 0);
}
Dump \%h;
I don't have the time to investigate this at the moment, so here's
what I've got...
I usually have a version of bleadperl that is configured with:
-des -Dusedevel -Uinstallusrbinperl -Dusethreads -Duse64bitint
-Duselongdouble -Doptimize=-g3 -Uversiononly -Aappend:ccflags=
On 2005-06-06, at 08:02:52 -0400, Mike Giroux wrote:
Digging through code coverage, I ran across these two functions that are
not covered within the tests. The reason being that they aren't used
within the core Perl code anywhere. Their lack of documentation also
doesn't help to figure out
On 2005-05-22, at 12:47:35 +0200, Tels wrote:
attached is a patch that should improve the aligning of struct members in
RExC_state_t (assuming that 4 chars are as big as the other memebers,
which is true for x86 and 32 bit).
typedef struct RExC_state_t {
U32 flags;
On 2005-05-22, at 12:24:57 +0200, Tels wrote:
-BEGIN PGP SIGNED MESSAGE-
Moin,
it looks to me like there are quite a few files in /lib that are not
needed for building Perl, like changelogs, SIGNATUREs etc. Attached is a
small script to list them and the list from my
On 2005-05-18, at 14:00:23 +0100, Dave Mitchell wrote:
Based an a suggestion from Jarkko, I've tried building bleed with
-Dregister=
and timed 'make test' a few times.
This is Linux FC3, GCC 3.4.3, Athlon 750Mhz, in single-user mode.
There seems to be a slight advantage having the
On 2005-03-28, at 23:09:50 +0100, Dave Mitchell wrote:
On Wed, Feb 23, 2005 at 11:40:09PM -0500, Stas Bekman wrote:
The scalars leaking reporting needs to be improved. At the moment if you
get a scalars leaked reported and it didn't happen when you've added that
new line of XS/C code you
On 2005-04-13, at 14:47:11 -0500, Graham Barr wrote:
Although perly.c is shipped in the tarball, it is actually generated.
From regen_perly.pl:
# Note that perly.c is *not* regenerated - this is now a static file which
# is not dependent on perly.y any more.
Marcus
--
Computers are
On 2005-04-02, at 19:37:11 +0200, Steven Schubiger wrote:
On 1 Apr, Michael G Schwern wrote:
: I think some of the section headers can be improved...
Patch version deux.
Thanks, applied as change #24139.
Marcus
--
Breakpoint 1, main (argc=1, argv=0xbc40) at main.c:29
29 printf
On 2005-04-03, at 11:47:22 +0200, Steven Schubiger wrote:
On 3 Apr, Tels wrote:
: work (no s :)
:
: I think most of the longer-than-80-chars items can be shortened without
: loss of information.
Applied.
--- bleadperl/pod/perltrap.podSun Apr 3 10:47:49 2005
+++
On 2005-03-16, at 05:27:20 -, Steve Peters via RT wrote:
[EMAIL PROTECTED] - Sat Mar 05 09:54:59 2005]:
This is a bug report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.35 running under perl v5.8.5.
The attached patch adds shmat() and shmdt() support to IPC::SysV.
Currently, shared memory can only be handled with shm(get|ctl|read|write).
The problem is that shared memory created by shmget is persistent, even
after the creating process terminates. The process can and should of course
delete
On 2005-03-12, at 10:28:42 -0800, Michael G Schwern wrote:
http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.25_09.tar.gz
or
http://svn.schwern.org/svn/ExtUtils-MakeMaker/trunk
or
a CPAN near you
Its another alpha release of MakeMaker! This one is a release candidate.
The last few
On 2005-03-10, at 00:14:04 -0600, Andy Lester wrote:
Attached is a patch of my day of playing with adding const qualifiers to
many underlying C functions.
Thanks!
But...
Could you patch embed.fnc instead of proto.h, as stated in proto.h's header?
* !!! DO NOT EDIT THIS FILE !!!
On 2005-03-10, at 09:59:59 -0600, Andy Lester wrote:
On Thu, Mar 10, 2005 at 09:13:18AM +0100, Marcus Holland-Moritz ([EMAIL
PROTECTED]) wrote:
* Removed has_flag parm from pad_push(), per XXX note
Mmmh, did you test your patch?
pp_hot.c:2706:35: error: macro pad_push requires 3
On 2005-03-10, at 15:17:28 -0600, Andy Lester wrote:
On Thu, Mar 10, 2005 at 03:07:07PM -0500, Andrew Dougherty ([EMAIL
PROTECTED]) wrote:
The problem is the declaration of a new variable on line 1589:
AV* av = newAV();
Here we go. Third time should be the charm.
What do the
On 2005-03-09, at 11:02:20 -0600, Andy Lester wrote:
Do we intentionally avoid constant pointers and pointers to constant
data in the Perl source?
No, I don't think so.
However, constant pointers are usually rare. Ususally, you want
to work with the pointer, just as you want to work with most
On 2005-03-09, at 13:28:32 -0600, Andy Lester wrote:
On Wed, Mar 09, 2005 at 07:33:42PM +0100, Marcus Holland-Moritz ([EMAIL
PROTECTED]) wrote:
This wouldn't allow foo() to change the memory pointed to
by target. I guess you mean:
int foo( char * const target, const char * const
On 2005-03-09, at 13:49:11 -0600, Andy Lester wrote:
On Wed, Mar 09, 2005 at 08:44:33PM +0100, Marcus Holland-Moritz ([EMAIL
PROTECTED]) wrote:
... if that is what we actually want. But then we may not
want to limit this to pointers and also write
void foo(const STRLEN len)
Yes
On 2005-02-28, at 18:13:57 +1300, Sam Vilain wrote:
Marcus Holland-Moritz wrote:
On 2005-02-25, at 13:56:25 -0500, Matt Sergeant wrote:
You cannot serialize objects that map to C/XS objects, as LibXSLT does.
... unless the XS module provides explicit serialization
support via
On 2005-02-25, at 13:56:25 -0500, Matt Sergeant wrote:
On 24 Feb 2005, at 18:35, [EMAIL PROTECTED] wrote:
I would like to serialize Perl objects for future usage. Can I
serialize objects using Storable class ?
Yes. Pure perl objects.
I tried to serialize a LibXSLT stylesheet object
On 2005-02-25, at 16:23:32 -, [EMAIL PROTECTED] (via RT) wrote:
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #34267]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34267
On 2005-02-14, at 12:06:09 -0500, Andy Dougherty wrote:
The following bid of odd code in toke.c (auto-generated by
perl_keyword.pl) generates the following warnings from Sun's compiler:
toke.c, line 5605: warning: statement not reached
toke.c, line 5612: warning: statement not reached
[20
On 2005-02-14, at 19:54:17 -0600, Steve Peters wrote:
Attached are some additional tests for t/op/not.t. The additional
tests cover a few additional cases for ! and not beyond the
test for not().
Thanks, applied as change #23967.
Marcus
--
C Code.
C Code Run.
Run, Code, RUN!
On 2005-02-11, at 00:29:58 +, Dave Mitchell wrote:
On Thu, Feb 10, 2005 at 06:15:17PM +0100, Rafael Garcia-Suarez wrote:
[EMAIL PROTECTED] (via RT) wrote:
perl -e 'not() || 1'
perl -e 'die unless not()'
...
Like in the two examples above, the evaluation of not()
produces
On 2005-02-06, at 09:03:37 -0600, Ken Williams wrote:
On Feb 5, 2005, at 8:00 PM, Marcus Holland-Moritz wrote:
Not really. It's supposed to ensure compatibiliy between
different Perl releases, not between different OSs.
Good point.
This case is a bit of both. Perl 5.6.0 just didn't
On 2005-02-05, at 08:46:34 -0600, Ken Williams wrote:
Hi,
As https://rt.cpan.org/Ticket/Display.html?id=11251 shows, Cwd.pm is
having trouble on perl 5.005_03. The suggested solution in that thread
I just tried with a vanilla 5.005_03, and except for a missing
Scalar::Util prereq it
On 2005-02-05, at 15:23:41 -0600, Ken Williams wrote:
On Feb 5, 2005, at 12:51 PM, Marcus Holland-Moritz wrote:
On 2005-02-05, at 08:46:34 -0600, Ken Williams wrote:
Hi,
As https://rt.cpan.org/Ticket/Display.html?id=11251 shows, Cwd.pm is
having trouble on perl 5.005_03
On 2005-02-01, at 09:40:27 +, Steve Hay wrote:
Steve Hay wrote:
Automated smoke report for 5.9.2 patch 23914
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 2
On 2005-01-02, at 22:07:30 +0100, Marcus Holland-Moritz wrote:
I've posted the question below on perl-xs.
It seems that at least Nick I-S and me are interested in
an easy way to catch Perl_croak() from within XS code
without using call_xx().
I've proposed a set of macros to hide
On 2005-01-25, at 19:38:36 +, Nicholas Clark wrote:
On Tue, Jan 25, 2005 at 07:32:17PM +0100, Marcus Holland-Moritz wrote:
On 2005-01-25, at 17:31:38 +, Nicholas Clark wrote:
Benchmarking was done with the attached program linked against a file
ENOATTACHMENT
D'oh!
I've
On 2005-01-25, at 17:31:38 +, Nicholas Clark wrote:
Benchmarking was done with the attached program linked against a file
ENOATTACHMENT
Marcus
--
Statistics means never having to say you're certain.
On 2005-01-24, at 10:52:44 -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
http://www.fisharerojo.org/perl_gcov_coverage/coverage.html.
Thanks!!
I just noticed the following strange regex feature:
#!/usr/bin/perl
use Devel::Peek;
use Convert::Binary::C;
use re 'debug';
$str = \x42;
$rv = Convert::Binary::C-new-pack('char', 0x42);
print [$rv][$str]\n;
Dump $rv;
Dump $str;
$rv eq $str or warn not equal\n;
On 2005-01-12, at 13:17:07 -0800, Gisle Aas wrote:
Stas Bekman [EMAIL PROTECTED] writes:
I remember a discussion of removing the old USE_5005THREADS code in
blead? Where is the chainsaw?
It was claimed that this had already happened. But it is still
referenced here:
It already
On 2005-01-05, at 22:00:18 -, Nicholas Clark (via RT) wrote:
# New Ticket Created by Nicholas Clark
# Please include the string: [perl #33689]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33689
This
On 2005-01-06, at 08:42:07 +, Ton Hospel wrote:
In article [EMAIL PROTECTED],
Marcus Holland-Moritz [EMAIL PROTECTED] writes:
On 2005-01-05, at 22:00:18 -, Nicholas Clark (via RT) wrote:
---snip--
My gut feeling is that the ability to make two (or more) different strings
On 2005-01-01, at 21:38:47 +, Nicholas Clark wrote:
On Sat, Jan 01, 2005 at 04:21:59PM -0500, Spider Boardman wrote:
The patch for dXSTARG from IlyaZ wasn't final when I put the attributes
code out for review/approval. Whether I was mis-remembering the name from
his proposal or it
objections,
I'd like to add these (or similar) macros to the core (and
Devel::PPPort).
Marcus
On 2005-01-02, at 18:30:23 +, Nick Ing-Simmons wrote:
Marcus Holland-Moritz [EMAIL PROTECTED] writes:
I'm wondering if someone else ever wanted to do this...
Deep inside my XS module I create an object
On 2004-07-16, at 13:06:51 +0100, [EMAIL PROTECTED] wrote:
H.Merijn Brand [EMAIL PROTECTED] wrote:
:On Fri 16 Jul 2004 11:12, Nicholas Clark [EMAIL PROTECTED] wrote:
: On Thu, Jul 15, 2004 at 11:18:58PM -0500, david nicol wrote:
: On Thu, 2004-07-15 at 05:16, H.Merijn Brand wrote:
: Do I
On 2004-07-14, at 16:08:53 -0700, Gurusamy Sarathy wrote:
On Wed, 14 Jul 2004 23:18:29 BST, Nick Ing-Simmons wrote:
Nicholas Clark [EMAIL PROTECTED] writes:
What is PERL_FLEXIBLE_EXCEPTIONS ?
An abstraction which allows setjmp/longjmp to be replaced with
C++ try/throw or the Microsoft C
On 2004-12-29, at 15:37:07 -0500, Stas Bekman wrote:
Because of the way the data is gathered. All the portability
information in ppport.h is automatically generated by a set
of scripts in a quite lengthy process (see HACKERS in D::P
for details). The data isn't neccessarily reliable (yet)
On 2004-12-30, at 09:35:28 +0100, H.Merijn Brand wrote:
On Wed 29 Dec 2004 21:37, Stas Bekman [EMAIL PROTECTED] wrote:
Marcus Holland-Moritz wrote:
On 2004-12-29, at 12:44:11 -0500, Stas Bekman wrote:
Marcus Holland-Moritz wrote:
On 2004-12-29, at 14:45:44 +0100, Marcus Holland-Moritz
On 2004-12-30, at 10:03:03 -0500, Stas Bekman wrote:
Marcus Holland-Moritz wrote:
On 2004-12-30, at 09:35:28 +0100, H.Merijn Brand wrote:
On Wed 29 Dec 2004 21:37, Stas Bekman [EMAIL PROTECTED] wrote:
Marcus Holland-Moritz wrote:
On 2004-12-29, at 12:44:11 -0500, Stas Bekman wrote
On 2004-12-30, at 10:06:55 -0500, Stas Bekman wrote:
Marcus Holland-Moritz wrote:
Plus, you know that _something_ changed between 5.7.2 and 5.7.3.
If it would tell you supported down to 5.6.1, but the API call
got an extra parameter with 5.7.3, I think that would be worse.
OK, based
On 2004-12-28, at 15:39:55 -0500, Stas Bekman wrote:
Marcus Holland-Moritz wrote:
On 2004-12-18, at 11:19:19 -0500, Stas Bekman wrote:
For some reason I think I've asked this before, but I can't find it. So
please excuse me if this is a dup.
I was wondering why perlapi.pod doesn't
On 2004-12-29, at 14:45:44 +0100, Marcus Holland-Moritz wrote:
This will be part of the next release.
You can try Devel::PPPort 3.04 from CPAN or blead.
Marcus
--
God doesn't play dice.
-- Albert Einstein
On 2004-12-29, at 12:44:11 -0500, Stas Bekman wrote:
Marcus Holland-Moritz wrote:
On 2004-12-29, at 14:45:44 +0100, Marcus Holland-Moritz wrote:
I'll mention it in perlhack. Let me know if you have any suggestions.
How about adding it at the top of perlapi.pod (or at least a pointer
On 2004-12-18, at 11:19:19 -0500, Stas Bekman wrote:
For some reason I think I've asked this before, but I can't find it. So
please excuse me if this is a dup.
I was wondering why perlapi.pod doesn't indicate when a certain API was
added. I've tried to use sv_magicext, and I had to go
On 2004-12-02, at 04:29:47 -, Steve Peters via RT wrote:
[stmpeters - Wed Dec 01 12:13:03 2004]:
[EMAIL PROTECTED] - Sun May 25 14:27:36 2003]:
This is a build failure report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.34 running under perl v5.8.1.
On 2004-11-10, at 14:46:49 -0800, Viktor Nosov wrote:
Marcus,
I have example code now, so you can duplicate problem yourself. I attached
the tar file.
Are you sure this isn't a problem of FFI?
I don't have FFI installed, but after removing the FFI stuff I can
run the example program for
On 2004-11-08, at 10:46:19 +, Nicholas Clark wrote:
I actually incorporated an update from the development branch of perl into
the maintenance branch, which was committed by someone else, so I don't
understand the reasoning behind the change.
I guess that was my change, but I don't think
On 2004-11-03, at 14:29:35 -0800, Viktor Nosov wrote:
Hi,
We are using module C::Include in our Perl application that runs on
Red Hat Linux 7.3 with kernel version 2.4.18. For some reason this
application allocates more and more memory during its run. Analysis
of the situation shows that
On 2004-10-23, at 08:01:51 -0500, Steve Peters wrote:
On Friday 22 October 2004 01:28 pm, Michael G Schwern wrote:
On Fri, Oct 22, 2004 at 05:33:45PM -, Steve Peters via RT wrote:
I think that's what perlretut (regular expresssion tutorial) is for.
Agreed, perlretut contains all
On 2004-10-23, at 16:56:31 +0200, Tels wrote:
I didn't know that Devel::Peek used dump.c. Here is a patch that puts some
explanation into the documentation of Devel::Peek, because there is where
someone will look first.
Thanks, applied as change #23419.
Marcus
--
Gomme's Laws:
On 2004-10-18, at 23:24:01 +0200, Marcus Holland-Moritz wrote:
On 2004-10-17, at 06:31:57 +0900, Dan Kogai wrote:
Porters,
I have just released Encode 2.04.
=head1 Availability
http://www.dan.co.jp/~dankogai/cpan/Encode-2.04.tar.gz
or CPAN near you
=head1 Changes
On 2004-10-17, at 06:31:57 +0900, Dan Kogai wrote:
Porters,
I have just released Encode 2.04.
=head1 Availability
http://www.dan.co.jp/~dankogai/cpan/Encode-2.04.tar.gz
or CPAN near you
=head1 Changes
$Revision: 2.4 $ $Date: 2004/10/16 21:22:44 $
! Makefle.PL
From:
On 2004-10-18, at 23:24:01 +0200, Marcus Holland-Moritz wrote:
On 2004-10-17, at 06:31:57 +0900, Dan Kogai wrote:
Porters,
I have just released Encode 2.04.
=head1 Availability
http://www.dan.co.jp/~dankogai/cpan/Encode-2.04.tar.gz
or CPAN near you
=head1 Changes
On 2004-10-14, at 10:09:41 -0500, Craig A. Berry wrote:
Marcus Holland-Moritz wrote:
On 2004-10-09, at 18:10:25 +0200, Abe Timmerman wrote:
My first results (manual run):
Failed Test Stat Wstat Total Fail Failed List of Failed
On 2004-10-09, at 18:10:25 +0200, Abe Timmerman wrote:
My first results (manual run):
Failed Test Stat Wstat Total Fail Failed List of Failed
---
[-.ext.Devel.PPPort.t]ppphtest.t
On 2004-09-28, at 17:00:16 +0100, Steve Hay wrote:
What does chunk's tail overwrite overwrite mean?
It comes from malloc.c line 2074 (perl-5.8.5). An XS module of mine
keeps crashing with the message:
assertion botched (chunk's tail overwrite?): ((unsigned int
*)((caddr_t)ovp +
On 2004-02-27, at 22:45:19 +, Tim Bunce wrote:
On Fri, Feb 27, 2004 at 03:16:11PM +0100, Marcus Holland-Moritz wrote:
On 2004-02-27, at 13:23:26 +, Tim Bunce wrote:
On Thu, Feb 26, 2004 at 11:35:34PM -0800, Stas Bekman wrote:
Happy to help. I will be happy to convert
On 2004-02-28, at 00:44:43 +0100, Abigail wrote:
'make test' fails:
lib/db-btree...Can't locate DB_File.pm in @INC (@INC contains: ../lib) at
lib/db-btree.t line 21.
BEGIN failed--compilation aborted at lib/db-btree.t line 21.
Scalars leaked: 1
FAILED at test 0
This should be fixed
Another solution which I already thought of but was too
tired to try out was to actually __declspec(dllexport)
the functions from win32.c. The fix is a little bigger,
but may be the cleaner solution. Note that I had to change
the way DllExport is defined in win32.h, which may cause
some
On Sat, Dec 27, 2003 at 01:32:47AM +0100, Marcus Holland-Moritz wrote:
This is interesting, because I don't seem to be able to get perl to fail with
e.g. gcc-3.4 -O2 or gcc-3.3.2 -O3.
Curious. I did some experimenting a few days ago (which I failed to report on)
On a SuSE 8.2
Attached patch fixes another Quad_t that should be an Uquad_t
in Perl_sv_vcatpvfn().
-- Marcus
sv.c.diff
Description: Binary data
I have a module (Solaris::Kstat) which implements a tied hash entirely from
XSUB code. This works fine in 5.6.1, but cores in 5.8.2. I've added some
debug code, and whilst all the other XSUB tied hash methods are being called
correctly, CLEAR isn't - it looks like Perl_hv_clear() is being
On Thu, Jul 31, 2003 at 05:45:33PM -, [EMAIL PROTECTED] (via RT)
wrote:
[Please enter your report here]
The following commandline crashes with out of memory or segmentation
fault
perl -e 'use File::Glob :glob; *; *;'
Confirmed. Here's OS X.
$ perl5.8.1 -e 'use File::Glob
But the below makes me think that this is indeed a bug.
D:\Developmentperl -e printf '%22.20f',0.4
0.40002000
D:\Developmentperl -e printf '%22.20f',0.3
0.2000
D:\Developmentperl -e printf '%22.20f',0.2
0.20001000
D:\Developmentperl -e printf
76 matches
Mail list logo