projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
9ff0b09
)
Silence strncpy warning emitted by GCC 8 in ini parser
author
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Fri, 1 Jun 2018 16:50:40 +0000
(12:50 -0400)
committer
Jérémie Galarneau
<jeremie.galarneau@efficios.com>
Fri, 1 Jun 2018 17:02:12 +0000
(13:02 -0400)
While copying 'dst len' bytes in strncpy is normally risky
as the dst may not be NULL-terminated, this function ensures
that the last byte of 'dst' is NULL.
Therefore, this change is mostly made to silence GCC.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
No differences found
This page took
0.026601 seconds
and
5
git commands to generate.