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

  FreeBSD src repository

  Modified files:
    lib/libutil          expand_number.c 
  Log:
  - 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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to