cvs commit: src/usr.bin/systat convtbl.c convtbl.h

Yar Tikhiy yar at FreeBSD.org
Mon Nov 27 07:32:10 PST 2006


yar         2006-11-27 15:26:26 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/systat       convtbl.c convtbl.h 
  Log:
  Allow for large scale factors.  C99 warrants that
  ULLONG_MAX is not less than 2^64-1; and uintmax_t
  cannot be more narrow than unsigned long long.
  This allows for scale factors up to Exa inclusively.
  
  Use plain int for the scale index to be consistent
  with ifcmds.c and enum.
  
  Revision  Changes    Path
  1.8       +5 -5      src/usr.bin/systat/convtbl.c
  1.5       +6 -5      src/usr.bin/systat/convtbl.h


More information about the cvs-src mailing list