K 10 svn:author V 5 seanc K 8 svn:date V 27 2003-02-15T10:26:10.000000Z K 7 svn:log V 379 flexlint rears its head as well as some style(9) fixes[1]. Fixed a few bugs for a few corner cases and correctly handle the case where read(2) is read()'ing from a non-file descriptor and could get fewer bytes back than the buffer, but it isn't EOF[2]. random(6) extensively tested and believed to be bug free (save performance for large files). Submitted by: mkm [1], tjr[2] END