Author: mhutch
Date: 2007-04-28 14:57:47 -0400 (Sat, 28 Apr 2007)
New Revision: 76434
Modified:
trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
Log:
2007-04-28 Michael Hutchinson <[EMAIL PROTECTED]>
* MakefileData.cs: Use InvariantCulture for string sorting to stop
reordering of file lists on different systems.
Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog 2007-04-28
16:42:10 UTC (rev 76433)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog 2007-04-28
18:57:47 UTC (rev 76434)
@@ -1,3 +1,8 @@
+2007-04-28 Michael Hutchinson <[EMAIL PROTECTED]>
+
+ * MakefileData.cs: Use InvariantCulture for string sorting to stop
+ reordering of file lists on different systems.
+
2007-04-27 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* SolutionMakefileHandler.cs: Make sure that makefiles are generated in
Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
2007-04-28 16:42:10 UTC (rev 76433)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileData.cs
2007-04-28 18:57:47 UTC (rev 76434)
@@ -1263,19 +1263,19 @@
// to detect changes!)
List<string> list = Makefile.GetListVariable
(GacRefVar.Name);
if (list != null)
- list.Sort ();
+ list.Sort
(System.StringComparer.InvariantCulture);
if (String.Compare (AsmRefVar.Name,
GacRefVar.Name) != 0) {
list = Makefile.GetListVariable
(AsmRefVar.Name);
if (list != null)
- list.Sort ();
+ list.Sort
(System.StringComparer.InvariantCulture);
}
if ((String.Compare (ProjectRefVar.Name,
GacRefVar.Name) != 0) &&
(String.Compare (ProjectRefVar.Name,
AsmRefVar.Name) != 0)) {
list = Makefile.GetListVariable
(ProjectRefVar.Name);
if (list != null)
- list.Sort ();
+ list.Sort
(System.StringComparer.InvariantCulture);
}
}
@@ -1338,7 +1338,7 @@
files.Add (s);
// Keep the file list sorted in the makefile
- files.Sort ();
+ files.Sort (System.StringComparer.InvariantCulture);
Makefile.SetListVariable (fileVar.Name, files);
return true;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches