[Mono-bugs] [Bug 55916][Min] New - monoresgen creates zero-byte output file when input is malformed resx file

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Mar 2004 14:28:21 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=55916

--- shadow/55916	2004-03-22 14:28:21.000000000 -0500
+++ shadow/55916.tmp.4895	2004-03-22 14:28:21.000000000 -0500
@@ -0,0 +1,26 @@
+Bug#: 55916
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: monoresgen creates zero-byte output file when input is malformed resx file
+
+Steps to reproduce the problem:
+1. create an empty file named 'test.resx'
+2. execute following command :
+
+monoresgen test.resx test.resources
+
+monoresgen will fail as it should, but a zero-byte file 
+named 'test.resources' will be created anyway.