[Github-comments] [geany] Fix the "source file has been modified" issue (#621)

Jiří Techet notifications at xxxxx
Tue Sep 29 21:12:55 UTC 2015


>  	{
>  		ui_set_statusbar(TRUE, "%s", err->message);
>  		g_error_free(err);
>  		return FALSE;
>  	}
>  
> -	filedata->len = (gsize) st.st_size;

@b4n Ah, OK, for some reason I lived under the impression that g_file_get_contents() returns the strlen() value in which case what I did would be wrong.

Is it OK to squash the fix-patch with the original patch now?

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/621/files#r40730404
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150929/b6cafb4b/attachment.html>


More information about the Github-comments mailing list