Module Name:    src
Committed By:   christos
Date:           Wed Mar 23 13:11:52 UTC 2011

Modified Files:
        src/usr.sbin/makefs/cd9660: cd9660_strings.c

Log Message:
Fix typos in character ranges from: Baptiste Daroussin bapt at freebsd dot org


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/makefs/cd9660/cd9660_strings.c

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

Modified files:

Index: src/usr.sbin/makefs/cd9660/cd9660_strings.c
diff -u src/usr.sbin/makefs/cd9660/cd9660_strings.c:1.4 src/usr.sbin/makefs/cd9660/cd9660_strings.c:1.5
--- src/usr.sbin/makefs/cd9660/cd9660_strings.c:1.4	Tue Jan 16 12:32:05 2007
+++ src/usr.sbin/makefs/cd9660/cd9660_strings.c	Wed Mar 23 09:11:51 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: cd9660_strings.c,v 1.4 2007/01/16 17:32:05 hubertf Exp $	*/
+/*	$NetBSD: cd9660_strings.c,v 1.5 2011/03/23 13:11:51 christos Exp $	*/
 
 /*
  * Copyright (c) 2005 Daniel Watt, Walter Deignan, Ryan Gabrys, Alan
@@ -46,7 +46,7 @@
 #include "cd9660.h"
 
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: cd9660_strings.c,v 1.4 2007/01/16 17:32:05 hubertf Exp $");
+__RCSID("$NetBSD: cd9660_strings.c,v 1.5 2011/03/23 13:11:51 christos Exp $");
 #endif  /* !__lint */
 
 
@@ -62,19 +62,19 @@
 }
 
 static inline int
-cd9660_is_a_char(char c)
+cd9660_is_d_char(char c)
 {
 	return (isupper((unsigned char)c)
 		|| c == '_'
-		|| (c >= '0' && c <= '?'));
+		|| (c >= '0' && c <= '9'));
 }
 
 static inline int
-cd9660_is_d_char(char c)
+cd9660_is_a_char(char c)
 {
 	return (isupper((unsigned char)c)
 			|| c == '_'
-			|| (c >= '%' && c <= '9')
+			|| (c >= '%' && c <= '?')
 			|| (c >= ' ' && c <= '\"'));
 }
 

Reply via email to