Re: [perl #16874] [BUG] Concatenation failing

2002-09-03 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > I have a weird bug where concatenation is sometimes failing Well, this bug is still here. I saw some patches fly by but which of them is the right patch and can it be applied please? ;-) Leon -- Leon Brocard.

Re: [perl #16874] [BUG] Concatenation failing

2002-08-31 Thread Peter Gibbs
Mike Lambert wrote: > Unfortunately, I fail to see why this actually fixes any bug. > string_grow should unmake_COW itself. The problem is that unmake_COW will always resize the allocation down to bufused (plus the padding added by mem_allocate). This means that the buflen test could pass, and

Re: [perl #16874] [BUG] Concatenation failing

2002-08-31 Thread Mike Lambert
> > I have a weird bug where concatenation is sometimes failing, and I > > have no idea why. See the attached pasm. I fully expect both works and > > weird to output "foo", "bar", "quux" with various levels of spacing, > > but weird doesn't output quux. > > Patch below should fix the problem. This

Re: [perl #16874] [BUG] Concatenation failing

2002-08-30 Thread Peter Gibbs
Leon Brocard (via RT) wrote: > I have a weird bug where concatenation is sometimes failing, and I > have no idea why. See the attached pasm. I fully expect both works and > weird to output "foo", "bar", "quux" with various levels of spacing, > but weird doesn't output quux. Patch below should fi

Re: [perl #16874] [BUG] Concatenation failing

2002-08-30 Thread Markus Laire
> I have a weird bug where concatenation is sometimes failing, and I > have no idea why. > ... While trying to find shortest code which reproduces this, I found probably related bug where string is overwritten by a constant in memory. set S0, "" set S1, "ABCDEFGHIJK" set S2, "123456789012" co

Re: [perl #16874] [BUG] Concatenation failing

2002-08-30 Thread Peter Sinnott
On Fri, Aug 30, 2002 at 08:35:43AM +, [EMAIL PROTECTED] wrote: > # New Ticket Created by Leon Brocard > # Please include the string: [perl #16874] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt2/Ticket/Display.html?id=16874 > > > > Hi. >

Re: [perl #16874] [BUG] Concatenation failing

2002-08-30 Thread Markus Laire
> I have a weird bug where concatenation is sometimes failing, and I > have no idea why. See the attached pasm. I fully expect both works and > weird to output "foo", "bar", "quux" with various levels of spacing, > but weird doesn't output quux. > ... If I add just one print-command to that code,

[perl #16874] [BUG] Concatenation failing

2002-08-30 Thread via RT
# New Ticket Created by Leon Brocard # Please include the string: [perl #16874] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16874 > Hi. I have a weird bug where concatenation is sometimes failing, and I have no idea wh