64d5f938fd4d8e9913d10a1639160d6fcdbe8159
With gcc8 we get the following error when stringop-truncation is on:
```
In function ‘_rotate_log_file’,
inlined from ‘log_msg.part.2’ at src/log.c:201:17:
src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
strncpy(log_file_new, log_file, len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/log.c: In function ‘log_msg.part.2’:
src/log.c:228:18: note: length computed here
size_t len = strlen(log_file);
^~~~~~~~~~~~~~~~
```
Using memcpy instead of strncpy.
Profanity 
Profanity is a console based XMPP client inspired by Irssi,
See the User Guide for information on installing and using Profanity.
Links
Homepage: http://www.profanity.im
Mailing List: https://groups.google.com/forum/#!forum/profanitydev
Plugins repository: https://github.com/boothj5/profanity-plugins
Description
Languages
C
95.2%
Python
1.7%
Makefile
0.9%
M4
0.8%
Shell
0.7%
Other
0.6%
