projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
56a3682
)
hugepages plugin: Don't use pathconf(_PC_NAME_MAX).
author
Florian Forster
<octo@collectd.org>
Mon, 5 Sep 2016 08:35:22 +0000
(10:35 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 14 Sep 2016 18:28:58 +0000
(20:28 +0200)
Since we allocate the buffer on the stack, this doesn't make sense:
Best case, the returned value is the same as the PATH_MAX define. Worst
case, the returned value is larger and we create a stack overflow.
No differences found