PERFORCE change 219876 for review

Brooks Davis brooks at FreeBSD.org
Tue Dec 4 16:45:04 UTC 2012


http://p4web.freebsd.org/@@219876?ac=10

Change 219876 by brooks at brooks_zenith on 2012/12/04 16:45:03

	Allow any capitalization of .cpt.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd/browser/browser.c#7 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/browser/browser.c#7 (text+ko) ====

@@ -546,7 +546,7 @@
 		desc = "special/character";
 		break;
 	case DT_DIR:
-		if (fnmatch("*.cpt", entry->d_name, 0) == 0)
+		if (fnmatch("*.[cC][pP][tT]", entry->d_name, 0) == 0)
 			desc = "x-application/cheripoint";
 		else
 			desc = "directory";


More information about the p4-projects mailing list