svn commit: r219954 - head/usr.sbin/makefs/cd9660
Baptiste Daroussin
bapt at FreeBSD.org
Thu Mar 24 12:04:43 UTC 2011
Author: bapt (ports committer)
Date: Thu Mar 24 12:04:42 2011
New Revision: 219954
URL: http://svn.freebsd.org/changeset/base/219954
Log:
Fix confusion between a-characters and d-characters
Submitted by: avg
Approved by: cognet
Modified:
head/usr.sbin/makefs/cd9660/cd9660_strings.c
Modified: head/usr.sbin/makefs/cd9660/cd9660_strings.c
==============================================================================
--- head/usr.sbin/makefs/cd9660/cd9660_strings.c Thu Mar 24 09:12:54 2011 (r219953)
+++ head/usr.sbin/makefs/cd9660/cd9660_strings.c Thu Mar 24 12:04:42 2011 (r219954)
@@ -59,7 +59,7 @@ cd9660_is_a_char(char c)
{
return (isupper((unsigned char)c)
|| c == '_'
- || (c >= '0' && c <= '?'));
+ || (c >= '0' && c <= '9'));
}
static inline int
@@ -67,7 +67,7 @@ cd9660_is_d_char(char c)
{
return (isupper((unsigned char)c)
|| c == '_'
- || (c >= '%' && c <= '9')
+ || (c >= '%' && c <= '?')
|| (c >= ' ' && c <= '\"'));
}
More information about the svn-src-all
mailing list