Christian Kellner 41b85c245d Rewrite strncpy to silence compiler warning
Instead of initializing the char array to 0 and writing N-1 bytes,
write N-1 bytes and set the last byte manually to 0. This seems
to make gcc happy.
2019-03-28 17:14:00 +01:00
..
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-28 11:40:40 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00