projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
469f543
)
processes: Solaris: Consistently use long to represent a pid
author
Jan Andres
<jandres@gmx.net>
Sat, 31 Jan 2015 09:00:31 +0000
(10:00 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 19 May 2015 15:43:35 +0000
(17:43 +0200)
pid_t may be defined as an int or a long depending on circumstances.
Use a long everywhere so we don't have to fiddle with typecasts.
This fixes an issue where an incorrect printf format string would
be used for a pid_t in 32-bit builds.
No differences found