Author: kostat
Date: 2007-05-16 02:08:56 -0400 (Wed, 16 May 2007)
New Revision: 77451
Modified:
trunk/mcs/class/System.Data/System.Data/ChangeLog
trunk/mcs/class/System.Data/System.Data/DataTable.cs
Log:
undo r77416 since the issue is handled in Xml, r77450
Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog 2007-05-16 06:04:45 UTC
(rev 77450)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog 2007-05-16 06:08:56 UTC
(rev 77451)
@@ -1,7 +1,3 @@
-2007-05-07 Konstantin Triger <[EMAIL PROTECTED]>
-
- * DataTable.cs: ensure the file is closed in
DataTable.WriteXml(filename).
-
2007-05-07 Adar Wesley <[EMAIL PROTECTED]>
* ConstraintCollection.cs: added CopyTo method with strongly typed
Constraint[]
Modified: trunk/mcs/class/System.Data/System.Data/DataTable.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/DataTable.cs 2007-05-16
06:04:45 UTC (rev 77450)
+++ trunk/mcs/class/System.Data/System.Data/DataTable.cs 2007-05-16
06:08:56 UTC (rev 77451)
@@ -2462,15 +2462,9 @@
#if NET_2_0
private XmlWriterSettings GetWriterSettings ()
{
- return GetWriterSettings (false);
- }
-
- private XmlWriterSettings GetWriterSettings (bool closeOutput)
- {
XmlWriterSettings s = new XmlWriterSettings ();
s.Indent = true;
s.OmitXmlDeclaration = true;
- s.CloseOutput = closeOutput;
return s;
}
@@ -2543,7 +2537,7 @@
{
XmlWriter xw = null;
try {
- xw = XmlWriter.Create (fileName,
GetWriterSettings (true));
+ xw = XmlWriter.Create (fileName,
GetWriterSettings ());
WriteXml (xw, mode, writeHierarchy);
} finally {
if (xw != null)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches