]> git.ipfire.org Git - thirdparty/glibc.git/commit
timezone: pacify GCC -Wstringop-truncation
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Nov 2017 06:00:28 +0000 (22:00 -0800)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Oct 2018 12:00:17 +0000 (14:00 +0200)
commitd161b294e1267ca275352c26850255c5efc998de
tree68dcb100b5bbedd4bbf67c035b38623e83a6e9b8
parente37ec9c813de3faeabc31d9ffc896ba45b4dfd5f
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.

(cherry picked from commit e69897bf202e18034cbef26f363bae64de70a196)
ChangeLog
timezone/zic.c