svn commit: r306638 - head/lib/libstand

Toomas Soome tsoome at FreeBSD.org
Mon Oct 3 14:07:16 UTC 2016


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 <brde at optusnet.com.au>
  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;
 			}


More information about the svn-src-head mailing list