At 8:50 PM -0600 12/5/03, Craig A. Berry wrote:

> When we try to get the resultant length by doing the cast
>"(unsigned long int) *rslt" we are saying take the one-byte signed
>integer at rslt[0] and convert it to an unsigned long. This works fine
>up to a certain value of rslt[0],(probably 0xF0, or 240 decimal)

Well, doh, the magic number is (as I should have realized) 127.  I
just had a hard time believing we've never had the result of a glob
longer than that.  Here are the length values we are actually using
as we approach and pass 127:

125 (7d)
126 (7e)
127 (7f)
4294967168 (ffffff80)
4294967169 (ffffff81)

Ouch.  I'll get my patch into bleadperl, and it should make its way
into 5.8.3 from there.
-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to