Author: ankit
Date: 2008-02-21 06:16:04 -0500 (Thu, 21 Feb 2008)
New Revision: 96334

Modified:
   trunk/mcs/ilasm/ChangeLog
   trunk/mcs/ilasm/Driver.cs
   trunk/mcs/ilasm/Report.cs
Log:
Fix bug #363587
* Driver.cs: Use Report.Message for emitting messages.
* Report.cs (AssembleFile): Honor 'quiet'.
Patch from Andrea Carlo Ornstein <[EMAIL PROTECTED]>


Modified: trunk/mcs/ilasm/ChangeLog
===================================================================
--- trunk/mcs/ilasm/ChangeLog   2008-02-21 11:09:07 UTC (rev 96333)
+++ trunk/mcs/ilasm/ChangeLog   2008-02-21 11:16:04 UTC (rev 96334)
@@ -1,3 +1,10 @@
+2008-02-21  Ankit Jain  <[EMAIL PROTECTED]>
+
+       Fix bug #363587
+       * Driver.cs: Use Report.Message for emitting messages.
+       * Report.cs (AssembleFile): Honor 'quiet'.
+       Patch from Andrea Carlo Ornstein <[EMAIL PROTECTED]>
+
 2008-02-07  Gert Driesen  <[EMAIL PROTECTED]>
 
        * Driver.cs: Removed crazy logic prevent debug symbol from being

Modified: trunk/mcs/ilasm/Driver.cs
===================================================================
--- trunk/mcs/ilasm/Driver.cs   2008-02-21 11:09:07 UTC (rev 96333)
+++ trunk/mcs/ilasm/Driver.cs   2008-02-21 11:16:04 UTC (rev 96334)
@@ -33,7 +33,7 @@
                         DriverMain driver = new DriverMain (args);
                         if (!driver.Run ())
                                 return 1;
-                        Console.WriteLine ("Operation completed successfully");
+                        Report.Message ("Operation completed successfully");
                         return 0;
                 }
 
@@ -104,7 +104,7 @@
 
                                 try {
                                        if (sn != null) {
-                                               Console.WriteLine ("Signing 
assembly with the specified strongname keypair");
+                                               Report.Message ("Signing 
assembly with the specified strongname keypair");
                                                return Sign (output_file);
                                        }
                                 } catch {

Modified: trunk/mcs/ilasm/Report.cs
===================================================================
--- trunk/mcs/ilasm/Report.cs   2008-02-21 11:09:07 UTC (rev 96333)
+++ trunk/mcs/ilasm/Report.cs   2008-02-21 11:16:04 UTC (rev 96334)
@@ -44,6 +44,8 @@
                 public static void AssembleFile (string file, string listing,
                                           string target, string output)
                 {
+                        if (quiet)
+                                return;
                         Console.WriteLine ("Assembling '{0}' , {1}, to {2} --> 
'{3}'", file,
                                            GetListing (listing), target, 
output);
                         Console.WriteLine ();

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to