@eht16 commented on this pull request.


>                       SETPTR(new_filename, g_strconcat(new_filename, ".", 
> ft->extension, NULL));
 
+               /* create new file */
+               fd = g_mkstemp(new_filename);
+               if (fd == -1)
+               {
+                       gchar *message = g_strdup_printf(
+                               _("Instant Save filename could not be generated 
(%s)."), g_strerror(errno));
+                       ui_set_statusbar(TRUE, "%s", message);
+                       g_warning("%s", message);
+                       g_free(message);
+                       return;

Fixed, thanks for spotting.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2769#discussion_r606855388

Reply via email to