The whole PL_origalen thing in perl.c looks very hokey.
p4raw-id: //depot/perl@21538
if (len >= (STRLEN)PL_origalen) {
/* Longer than original, will be truncated. */
Copy(s, PL_origargv[0], PL_origalen, char);
- PL_origargv[0][PL_origalen - 1] = 0;
+ PL_origargv[0][PL_origalen] = 0;
}
else {
/* Shorter than original, will be padded. */