Change 28545 by [EMAIL PROTECTED] on 2006/07/11 11:26:17
Fix change #28533: my_strlcpy does not return the dest str!
Affected files ...
... //depot/perl/util.c#574 edit
Differences ...
==== //depot/perl/util.c#574 (text) ====
Index: perl/util.c
--- perl/util.c#573~28533~ 2006-07-10 10:23:02.000000000 -0700
+++ perl/util.c 2006-07-11 04:26:17.000000000 -0700
@@ -3054,7 +3054,8 @@
len = strlen(scriptname);
if (len+MAX_EXT_LEN+1 >= sizeof(tmpbuf))
break;
- cur = my_strlcpy(tmpbuf, scriptname, sizeof(tmpbuf));
+ my_strlcpy(tmpbuf, scriptname, sizeof(tmpbuf));
+ cur = tmpbuf;
}
} while (extidx >= 0 && ext[extidx] /* try an extension? */
&& my_strlcpy(tmpbuf+len, ext[extidx++], sizeof(tmpbuf) -
len));
End of Patch.