Commit 340a3e80 authored by Matthias Clasen's avatar Matthias Clasen

Don't print scanner->input_name when it is NULL. (#93752)

	* glib/gscanner.c (g_scanner_msg_handler): Don't print
	scanner->input_name when it is NULL.  (#93752)
parent 8ca0f66e
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
2002-09-20 Matthias Clasen <maclas@gmx.de>
* glib/gscanner.c (g_scanner_msg_handler): Don't print
scanner->input_name when it is NULL. (#93752)
2002-09-06 Havoc Pennington <hp@redhat.com>
* autogen.sh: automake 1.4
......
......@@ -289,7 +289,8 @@ g_scanner_msg_handler (GScanner *scanner,
{
g_return_if_fail (scanner != NULL);
fprintf (stderr, "%s:%d: ", scanner->input_name, scanner->line);
if (scanner->input_name)
fprintf (stderr, "%s:%d: ", scanner->input_name, scanner->line);
if (is_error)
fprintf (stderr, "error: ");
fprintf (stderr, "%s\n", message);
......
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