[Nagiosplug-devel] [ nagiosplug-Bugs-1463853 ] check_procs: pids should use pid_t type

SourceForge.net noreply at sourceforge.net
Mon Apr 3 14:52:03 CEST 2006


Bugs item #1463853, was opened at 2006-04-03 23:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: NotDisplayed123 (lbruun)
Assigned to: Nobody/Anonymous (nobody)
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


----------------------------------------------------------------------

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