This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update string copying in vms/vms.c
authorCraig A. Berry <craigberry@mac.com>
Sun, 13 Nov 2011 13:21:05 +0000 (07:21 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sun, 13 Nov 2011 13:21:05 +0000 (07:21 -0600)
commita35dcc95dd24524931ea1c7900ae466ce7c2c255
tree371a44132c001330990213c807a57e5e3a2b10a9
parentcc947deb48c386ac1d10fb829cfde5da0cc3531b
Update string copying in vms/vms.c

In several places strncpy was being used to copy a string of known
length with null handling done separately; those cases have been
converted to use memcpy.  Most uses of strncpy and strcpy have
been converted to my_strlcpy and most uses of strcat have been
converted to my_strlcat.
vms/vms.c