timezone: pacify GCC -Wstringop-truncation
commite69897bf202e18034cbef26f363bae64de70a196
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Nov 2017 06:00:28 +0000 (12 22:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Nov 2017 06:00:28 +0000 (12 22:00 -0800)
treee51c03b97276c729adb29b99b59eccb7f1a3e2bc
parent1ffe1ccb6ec5771765f1f6f0c439ed07bf345d67
timezone: pacify GCC -Wstringop-truncation

Problem reported by Martin Sebor in:
https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
* timezone/zic.c (writezone): Use memcpy, not strncpy.
ChangeLog
timezone/zic.c