[Nagiosplug-devel] [ nagiosplug-Bugs-1463853 ] check_procs: pids should use pid_t type
SourceForge.net
noreply at sourceforge.net
Wed Apr 5 01:08:03 CEST 2006
Bugs item #1463853, was opened at 2006-04-03 22:51
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1463853&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: NotDisplayed123 (lbruun)
>Assigned to: Ton Voon (tonvoon)
Summary: check_procs: pids should use pid_t type
Initial Comment:
Current code uses:
int procpid;
Instead the code should consistently use:
pid_t procpid;
The reason is that it cannot be assumed that a PID is
always an int, e.g. on Solaris 32 bit is a long int.
This is a minor thing.
Lars
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2006-04-05 09:07
Message:
Logged In: YES
user_id=664364
Lars,
Thanks for the report. Changed ints to pid_t in CVS HEAD.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1463853&group_id=29880
More information about the Devel
mailing list