diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-07-10 17:23:02 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-07-10 17:23:02 +0000 |
commit | 6fca0082ec4f3b34a0dabc78331bad8c22489dd2 (patch) | |
tree | 5b5f73a8bc38c7378f649cb017829d8c6a07563c /toke.c | |
parent | 5b38b9cdaffc29c5d28feb5763086264c6c2360a (diff) | |
download | perl-6fca0082ec4f3b34a0dabc78331bad8c22489dd2.tar.gz |
Convert some low hanging fruit to my_strlcpy/my_strlcat.
p4raw-id: //depot/perl@28533
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -499,7 +499,7 @@ S_feature_is_enabled(pTHX_ const char *name, STRLEN namelen) dVAR; HV * const hinthv = GvHV(PL_hintgv); char he_name[32] = "feature_"; - (void) strncpy(&he_name[8], name, 24); + (void) my_strlcpy(&he_name[8], name, 24); return (hinthv && hv_exists(hinthv, he_name, 8 + namelen)); } |