In file_open_image(), mount non-native files *before* looking up a
file-proc. Previously, we'd only mount the file after the initial
lookup, and fail to perform a second lookup if the mount succeeded,
leaving us with a NULL file-proc and a subsequent segfault.
Additionally, simplify the rest of the remote-file code-path.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| file-import.c | ||
| file-import.h | ||
| file-open.c | ||
| file-open.h | ||
| file-remote.c | ||
| file-remote.h | ||
| file-save.c | ||
| file-save.h | ||
| file-utils.c | ||
| file-utils.h | ||
| gimp-file.h | ||
| Makefile.am | ||