cvs commit: src/lib/libutil expand_number.c

Pawel Jakub Dawidek pjd at
Wed Sep 5 07:27:13 PDT 2007

pjd         2007-09-05 14:27:13 UTC

  FreeBSD src repository

  Modified files:
    lib/libutil          expand_number.c 
  - Fix strange for loop.
    Reported by:  phk
  - While here, check the unit before calculating the actually number.
    This way we can return EINVAL for invalid unit instead of ERANGE.
  Approved by:    re (kensmith)
  Revision  Changes    Path
  1.2       +16 -6     src/lib/libutil/expand_number.c

More information about the cvs-src mailing list