app: do not use gimp_filename_to_utf8() in the signal handler.

This function is unsafe during signal handling. And in any case, when
printing to stderr, I don't think we need to convert to UTF-8. Quite the
contrary, the system encoding may be more appropriate.
This commit is contained in:
Jehan 2018-04-09 06:08:48 +02:00
parent ab7c3d2b24
commit f77edcdf19
1 changed files with 1 additions and 2 deletions

View File

@ -325,8 +325,7 @@ gimp_eek (const gchar *reason,
/* Let's just always output on stdout at least so that there is a
* trace if the rest fails. */
g_printerr ("%s: %s: %s\n", gimp_filename_to_utf8 (full_prog_name),
reason, message);
g_printerr ("%s: %s: %s\n", full_prog_name, reason, message);
#if ! defined (G_OS_WIN32) || defined (HAVE_EXCHNDL)