[Mono-devel-list] Bug in System.Web ?

yoros at wanadoo.es yoros at wanadoo.es
Sat Jul 17 20:31:13 EDT 2004


Hi again,

I posted a diff file for an error about empty dependencies... now I post
other changed related to "Src" directive and where the resulting
assemblies are placed.

Please, Gonzalo and company ;), review this changes and if you think
they should be in CVS... I'll commit.

Regards,

    Pedro

-- 
Pedro Martínez Juliá
\  pmj3 at alu.um.es
)|    yoros at wanadoo.es
/        http://yoros.dyndns.org
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information:  pub  1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E  534F 588B E285 74F1 D3AC
-------------- next part --------------
Index: System.Web.Caching/CacheDependency.cs
===================================================================
RCS file: /cvs/public/mcs/class/System.Web/System.Web.Caching/CacheDependency.cs,v
retrieving revision 1.12
diff -r1.12 CacheDependency.cs
165c165,167
< 					watchers [i] = CreateWatcher (filenames [i]);
---
> 					if (Path.GetDirectoryName (filenames [i]) != String.Empty) {
> 						watchers [i] = CreateWatcher (filenames [i]);
> 					}
Index: System.Web.Compilation/CachingCompiler.cs
===================================================================
RCS file: /cvs/public/mcs/class/System.Web/System.Web.Compilation/CachingCompiler.cs,v
retrieving revision 1.25
diff -r1.25 CachingCompiler.cs
39a40,41
> using System.IO;
> 
136,137c138
< 					throw new HttpException ("Configuration error. Language not supported: " +
< 								  language, 500);
---
> 					throw new HttpException ("Configuration error. Language not supported: " + language, 500);
140a142,150
> 				string dynamicBase = AppDomain.CurrentDomain.SetupInformation.DynamicBase;
> 				bool keepFiles = (Environment.GetEnvironmentVariable ("MONO_ASPNET_NODELETE") != null);
> 				TempFileCollection tempcoll = new TempFileCollection (config.TempDirectory, keepFiles);
> 				options.TempFiles = tempcoll;
> 				string dllfilename = Path.GetFileName (tempcoll.AddExtension ("dll", true));
> 				if (!Directory.Exists (dynamicBase))
> 					Directory.CreateDirectory (dynamicBase);
> 
> 				options.OutputAssembly = Path.Combine (dynamicBase, dllfilename);
141a152
> 				results.TempFiles.Delete();


More information about the Mono-devel-list mailing list