[Python-checkins] r42243 - python/trunk/Modules/mmapmodule.c

neal.norwitz python-checkins at python.org
Sun Feb 5 04:36:57 CET 2006


Author: neal.norwitz
Date: Sun Feb  5 04:36:57 2006
New Revision: 42243

Modified:
   python/trunk/Modules/mmapmodule.c
Log:
Whitespace normalization

Modified: python/trunk/Modules/mmapmodule.c
==============================================================================
--- python/trunk/Modules/mmapmodule.c	(original)
+++ python/trunk/Modules/mmapmodule.c	Sun Feb  5 04:36:57 2006
@@ -877,10 +877,10 @@
 		return NULL;
 
 	if ((access != (int)ACCESS_DEFAULT) && 
-	    ((flags != MAP_SHARED) || ( prot != (PROT_WRITE | PROT_READ))))
+	    ((flags != MAP_SHARED) || (prot != (PROT_WRITE | PROT_READ))))
 		return PyErr_Format(PyExc_ValueError, 
 				    "mmap can't specify both access and flags, prot.");
-	switch((access_mode)access) {
+	switch ((access_mode)access) {
 	case ACCESS_READ:
 		flags = MAP_SHARED;
 		prot = PROT_READ;


More information about the Python-checkins mailing list