DragonFly BSD
DragonFly commits List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/ruptime ruptime.c

From: Jeroen Ruigrok/asmodai <asmodai@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jul 2004 00:43:26 -0700 (PDT)

asmodai     2004/07/23 00:43:26 PDT

DragonFly src repository

  Modified files:
    usr.bin/ruptime      ruptime.c 
  Fix two sign comparison mistakes.
  Synchronises with:	FreeBSD v1.15 with the notable exception of making
  			i an unsigned integer since it need not be negative
  			and casting nhosts (a size_t and thus unsigned) to
  			it is just the other way around and throws away half
  			of the type.  Granted, the chance that you have more
  			than 2147483647 hosts (if assuming 32 bit) is a bit
  			much, nonetheless, this is the right way to do it in
  			my opinion.
  Revision  Changes    Path
  1.5       +2 -1      src/usr.bin/ruptime/ruptime.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]