[Oracleasm-commits] jlbec commits r391 - trunk/include/linux/oracleasm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Dec 3 16:00:45 PST 2008
Author: jlbec
Date: 2008-12-03 16:00:45 -0800 (Wed, 03 Dec 2008)
New Revision: 391
Modified:
trunk/include/linux/oracleasm/disk.h
Log:
oracleasm/disk.h: Allow '!' in disk name globs.
oracleasm/disk.h defines a function asmdisk_toupper() for normalizing
disk names. Disk names must be valid SQL identifiers (ASCII, uppercase,
no spaces). When a programming is using globs to search for disks, it
will also pass in glob characters. The glob character '!' was
incorrectly causing an error.
Modified: trunk/include/linux/oracleasm/disk.h
===================================================================
--- trunk/include/linux/oracleasm/disk.h 2008-12-03 23:53:32 UTC (rev 390)
+++ trunk/include/linux/oracleasm/disk.h 2008-12-04 00:00:45 UTC (rev 391)
@@ -112,7 +112,8 @@
if (glob &&
((c == '*') || (c == '?') ||
(c == '[') || (c == ']') ||
- (c == '\\') || (c == '-')))
+ (c == '\\') || (c == '-') ||
+ (c == '!')))
continue;
if (c < '0')
return c;
More information about the Oracleasm-commits
mailing list