mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
GCC 8 emits -Wstringop-truncation warnings at user_string() and group_string(). This suppresses these warnings by explicitly writing a null character to the last character in buffers, even if it is not computationally necessary. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>