From owner-svn-src-all@freebsd.org Mon Oct 3 14:07:16 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9398CAF34C9; Mon, 3 Oct 2016 14:07:16 +0000 (UTC) (envelope-from tsoome@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60BF0885; Mon, 3 Oct 2016 14:07:16 +0000 (UTC) (envelope-from tsoome@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u93E7FQd043441; Mon, 3 Oct 2016 14:07:15 GMT (envelope-from tsoome@FreeBSD.org) Received: (from tsoome@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u93E7Fdc043440; Mon, 3 Oct 2016 14:07:15 GMT (envelope-from tsoome@FreeBSD.org) Message-Id: <201610031407.u93E7Fdc043440@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tsoome set sender to tsoome@FreeBSD.org using -f From: Toomas Soome Date: Mon, 3 Oct 2016 14:07:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306638 - head/lib/libstand X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 14:07:16 -0000 Author: tsoome Date: Mon Oct 3 14:07:15 2016 New Revision: 306638 URL: https://svnweb.freebsd.org/changeset/base/306638 Log: Fix remaining bugs in libstancd/cd9660.c reported by Bruce Evans. Fixed text in comments. Reported by: Bruce Evans Reviewed by: allanjude Approved by: allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D8119 Modified: head/lib/libstand/cd9660.c Modified: head/lib/libstand/cd9660.c ============================================================================== --- head/lib/libstand/cd9660.c Mon Oct 3 13:23:43 2016 (r306637) +++ head/lib/libstand/cd9660.c Mon Oct 3 14:07:15 2016 (r306638) @@ -353,9 +353,9 @@ cd9660_open(const char *path, struct ope dp = (struct iso_directory_record *) ((char *) dp + isonum_711(dp->length)); - /* if the new block is zero length, its padding */ + /* If the new block has zero length, it is padding. */ if (isonum_711(dp->length) == 0) { - /* skip to next block, if any */ + /* Skip to next block, if any. */ off = boff * ISO_DEFAULT_BLOCK_SIZE; continue; }