Fix error handling when writing out typelib
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 22 Dec 2010 20:40:53 +0000 (15:40 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 22 Dec 2010 20:40:53 +0000 (15:40 -0500)
commit4a4d68e58b0dd22b8447b40c3e5264b9a3797426
tree211106cb7049393afafe53c12d71e6e74a88f82d
parent26e8791a022b337a6902b0883a588970a45e9243
Fix error handling when writing out typelib

Return a non-zero result when opening the output file fails and
don't use g_error() for other failures when writing out the file,
since such errors should not produce a core dump.
tools/compiler.c