[Github-comments] [geany/geany] SaveActions: Add configurable target directory for instantly saved files (#2769)
Enrico Tröger
notifications at xxxxx
Sun Apr 4 21:22:04 UTC 2021
@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210404/fca9e2db/attachment.htm>
More information about the Github-comments
mailing list