Module Name:    src
Committed By:   martin
Date:           Sun Jun  1 11:01:18 UTC 2014

Modified Files:
        src/sys/fs/cd9660: cd9660_util.c

Log Message:
PR kern/48815: do not skip ';' twice when comparing file versions.
Patch from Thomas Schmitt.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/cd9660/cd9660_util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/cd9660/cd9660_util.c
diff -u src/sys/fs/cd9660/cd9660_util.c:1.10 src/sys/fs/cd9660/cd9660_util.c:1.11
--- src/sys/fs/cd9660/cd9660_util.c:1.10	Tue Sep 27 01:01:43 2011
+++ src/sys/fs/cd9660/cd9660_util.c	Sun Jun  1 11:01:18 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: cd9660_util.c,v 1.10 2011/09/27 01:01:43 christos Exp $	*/
+/*	$NetBSD: cd9660_util.c,v 1.11 2014/06/01 11:01:18 martin Exp $	*/
 
 /*-
  * Copyright (c) 1994
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.10 2011/09/27 01:01:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_util.c,v 1.11 2014/06/01 11:01:18 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -117,7 +117,6 @@ isofncmp(const u_char *fn, size_t fnlen,
 			case ';':
 				break;
 			}
-			fn++;
 			for (i = 0; fnlen-- != 0; i = i * 10 + *fn++ - '0') {
 				if (*fn < '0' || *fn > '9') {
 					return -1;

Reply via email to