codebrainz commented on this pull request.
> display_name,
g_strerror(save_errno));
}
else
{
- gsize bytes_written;
-
- errno = 0;
- bytes_written = fwrite(data, sizeof(gchar), len, fp);
-
- if (len != bytes_written)
+ if(truncate(locale_filename,sizeof(gchar)*len)) // no
can change file size error!
truncate() is POSIX 2008 and AFAIK not available on Windows
--
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/1270