test/automated/rwops/Test_rwopsbundlesupport.m
changeset 4449 8f73f4a3c972
parent 4447 947201caa46e
     1.1 --- a/test/automated/rwops/Test_rwopsbundlesupport.m	Sat May 08 01:12:55 2010 -0700
     1.2 +++ b/test/automated/rwops/Test_rwopsbundlesupport.m	Sat May 08 04:52:17 2010 -0700
     1.3 @@ -12,6 +12,12 @@
     1.4  {
     1.5      FILE* fp = NULL;
     1.6  
     1.7 +	// If the file mode is writable, skip all the bundle stuff because generally the bundle is read-only.
     1.8 +	if(strcmp("r", mode) && strcmp("rb", mode))
     1.9 +	{
    1.10 +		return fopen(file, mode);
    1.11 +	}
    1.12 +	
    1.13  	NSAutoreleasePool* autorelease_pool = [[NSAutoreleasePool alloc] init];
    1.14  
    1.15