Windows: Use secure ctime and strncpy in afs_ctime
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 8 Sep 2009 20:36:32 +0000 (16:36 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Wed, 9 Sep 2009 04:29:13 +0000 (21:29 -0700)
commit01fae602425b91647b54888c82450091d4c89714
tree1c794a039b38d8a899a7405f20409cf23c14ba8e
parent5d1efd3cd86f12d6be073e9b8103f16bf33d8bab
Windows: Use secure ctime and strncpy in afs_ctime

Microsoft compilers version 1400 and above provide secure
versions of ctime and strncpy. Use them in afs_ctime.

Correction to sha1:359c64bb674ea0606e64b91fd8252297310a9862

Thanks to Andrew Deason for identifing the mistake.

Reviewed-on: http://gerrit.openafs.org/429
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/util/afsutil.h