[Mono-bugs] [Bug 79708][Maj] Changed - gapi2-parser Unhandled Exception, older gapi-parser fine

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 25 04:30:29 EDT 2006


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 cole-anstey at ntlworld.com.

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

--- shadow/79708	2006-10-21 05:34:12.000000000 -0400
+++ shadow/79708.tmp.22394	2006-10-25 04:30:29.000000000 -0400
@@ -90,6 +90,24 @@
 Its also worth noting that the line
 <exclude>castockpixbufs.h</exclude>
 does not appear to stop the parsing of the file castockpixbufs.h?
 
 ------- Additional Comments From vargaz at gmail.com  2006-10-21 05:34 -------
 -> gtk#
+
+------- Additional Comments From cole-anstey at ntlworld.com  2006-10-25 04:30 -------
+Its falling over at line 155
+
+system ("gapi_pp.pl " + pp_args + " | gapi2xml.pl " + ns + " " +
+prefile + " " + lib);
+
+line 65 previously removes the prefile.
+
+if (File.Exists (prefile))
+    File.Delete (prefile);
+
+The fix might be to add the following to line 155.
+
+if (!File.Exists (prefile))
+    File.CreateText(prefile);
+
+just prior to the system call?  I'll try to test this later.


More information about the mono-bugs mailing list