Commit fb9f9ab7 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Add comment to code describing previous commit

Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <>
parent e433bafb
......@@ -330,6 +330,10 @@ file_to_mmap (const char *location)
GError *error = NULL;
file = g_file_new_for_uri (location);
/* NOTE: this is broken if original filename contains "%20" etc. This
* is because g_file_get_path() will translate this to " ", etc. But
* the filename really may have used "%20" (not " ").
path = g_file_get_path (file);
if (path == NULL) {
g_warning ("Couldn't mmap %s: couldn't get path", path);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment