On Mon, Apr 04, 2005 at 09:15:54PM -0500, John E. Malmberg wrote: > > In MM_VMS.PM, there is a comment that unixify will sometimes return a > string with an off-by-one trailing null. > > And what does that mean? More than one null terminator?
Looks like it. I guess the length of the string reported in the SV was off-by-one possibly as a result of a regex bug or some XS code... though I don't see any obious XS code in VMS::Filespec. > Do you have a reproducer for that problem? Hmm, that comment is fairly recent... r1245. 3.27.2003 unixify() has an intermittant off-by-one terminating null bug in 5.8.0. Working around. I don't see any mention of what the problem was on vmsperl and I don't remember what the problem was. If you're feeling daring you can cut that line out of your copy of MM_VMS and wait for the explosion. :)