[SSI] openssi/procps/ps output.c,1.1.15.1,1.1.15.2

Roger Tsang <[email protected]> Sun, 08 Aug 2010 03:34:01 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/procps/ps
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv9307/ps

Modified Files:
      Tag: CENTOS
	output.c 
Log Message:
Import from procps-3.2.3-8.17.el4_8.2 for CentOS 4


Index: output.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/procps/ps/Attic/output.c,v
retrieving revision 1.1.15.1
retrieving revision 1.1.15.2
diff -u -d -r1.1.15.1 -r1.1.15.2
--- output.c	4 Jul 2010 21:36:50 -0000	1.1.15.1
+++ output.c	8 Aug 2010 03:33:59 -0000	1.1.15.2
@@ -373,6 +373,7 @@
   unsigned dd,hh,mm,ss;
   char *cp = outbuf;
   t = seconds_since_boot - (unsigned long)(pp->start_time / Hertz);
+  if(t>LONG_MAX) t=0;
   ss = t%60;
   t /= 60;
   mm = t%60;


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev