From owner-cvs-src@FreeBSD.ORG Sat Oct 7 12:11:21 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC0B16A40F; Sat, 7 Oct 2006 12:11:21 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8CDF43D72; Sat, 7 Oct 2006 12:11:21 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k97CBLS0002706; Sat, 7 Oct 2006 12:11:21 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k97CBL4D002696; Sat, 7 Oct 2006 12:11:21 GMT (envelope-from maxim) Message-Id: <200610071211.k97CBL4D002696@repoman.freebsd.org> From: Maxim Konovalov Date: Sat, 7 Oct 2006 12:11:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/cp utils.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Oct 2006 12:11:22 -0000 maxim 2006-10-07 12:11:21 UTC FreeBSD src repository Modified files: bin/cp utils.c Log: o Avoid division by zero. o Place error checking code near to the syscall. Submitted by: bde Revision Changes Path 1.51 +8 -3 src/bin/cp/utils.c