Re: [PATCH] prime_env_iter and zero-length values on VMS

2004-07-22 Thread Nicholas Clark
On Wed, Jul 14, 2004 at 04:43:09PM -0500, Craig Berry wrote: > > On Wednesday, July 14, 2004, at 03:53PM, Nicholas Clark <[EMAIL PROTECTED]> wrote: > > >Given that this patch is entirely in the VMS code, I don't mind putting it > >into 5.8.5, because it can't affect anything other than VMS, and

Re: [PATCH] prime_env_iter and zero-length values on VMS

2004-07-14 Thread Nicholas Clark
On Thu, Jul 08, 2004 at 11:19:05PM -0500, Craig A. Berry wrote: > The attached patch against blead fixes the bug and causes no new test > failures. The bug was causing a failure in > lib/I18N/LangTags/t/80_all_env.t in both blead and maint for reasons > that had only to do with the %ENV infrastruct

Re: [PATCH] prime_env_iter and zero-length values on VMS

2004-07-14 Thread Craig Berry
On Wednesday, July 14, 2004, at 03:53PM, Nicholas Clark <[EMAIL PROTECTED]> wrote: >Given that this patch is entirely in the VMS code, I don't mind putting it >into 5.8.5, because it can't affect anything other than VMS, and you have >a much better idea of what's sane for VMS than I do. [Plus I

[PATCH] prime_env_iter and zero-length values on VMS

2004-07-08 Thread Craig A. Berry
There is an ancient bug in vms/vms.c in the code that does the initial load of the %ENV hash. The sequence necessary to exercise the bug is to first initialize an environment variable to a zero-length string, then do something (such as C) that invokes prime_env_iter, and finally do something that d