Commit 545f0bd8 authored by Mike Kestner's avatar Mike Kestner Committed by Mike Kestner
Browse files

Finally getting around to checkin per Havoc. This is the fix for bug



Finally getting around to checkin per Havoc.  This is the fix for bug 51782.

2001-03-18  Mike Kestner  <mkestner@ameritech.net>

	* make-inline-pixbuf.c (main): Added logic to remove output when
	failures occur.
parent ac68581f
2001-03-18 Mike Kestner <mkestner@ameritech.net>
* make-inline-pixbuf.c (main): Added logic to remove output when
failures occur.
2001-03-14 Havoc Pennington <hp@redhat.com>
* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
......
......@@ -150,6 +150,7 @@ main (int argc, char **argv)
{
gboolean ext_symbols = FALSE;
FILE *outfile;
gchar *outfilename;
int i;
g_type_init (0);
......@@ -175,6 +176,7 @@ main (int argc, char **argv)
exit (1);
}
outfilename = argv[i];
++i;
fputs ("/* This file was automatically generated by the make-inline-pixbuf program.\n"
......@@ -198,7 +200,8 @@ main (int argc, char **argv)
if (pixbuf == NULL)
{
fprintf (stderr, "%s\n", error->message);
fclose (outfile);
remove (outfilename);
exit (1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment