From owner-cvs-all Sat Feb 15 2:26:13 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F7ED37B401; Sat, 15 Feb 2003 02:26:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C819143F75; Sat, 15 Feb 2003 02:26:10 -0800 (PST) (envelope-from seanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1FAQAbv042888; Sat, 15 Feb 2003 02:26:10 -0800 (PST) (envelope-from seanc@repoman.freebsd.org) Received: (from seanc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1FAQALH042887; Sat, 15 Feb 2003 02:26:10 -0800 (PST) Message-Id: <200302151026.h1FAQALH042887@repoman.freebsd.org> From: Sean Chittenden Date: Sat, 15 Feb 2003 02:26:10 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/games/random Makefile random.c randomize_fd.c randomize_fd.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG seanc 2003/02/15 02:26:10 PST Modified files: games/random Makefile random.c randomize_fd.c randomize_fd.h Log: 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] Revision Changes Path 1.5 +1 -1 src/games/random/Makefile 1.14 +13 -10 src/games/random/random.c 1.2 +69 -51 src/games/random/randomize_fd.c 1.2 +0 -11 src/games/random/randomize_fd.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message