This is a suggested fix for file I/O.
It reintroduces persistence of image file locations to JPEGDeux's
documents, including the default ~/Library/Preferences/JPEGDeux.plist.
There's a fix for the crash that would occur in an earlier release: the alias
handle is now properly allocated and disposed. Further, a little bit of
error handling has been added so that problems with aliases should fail a
bit more gracefully, with a log to the console and no crash.
Note that (as with older releases of JPEGDeux) because each and every
image file is recorded as an alias, which must be resolved, there's a bit of
a performance penalty for having many images when reading or writing,
especially if on a remote server or other slow storage device.
It would seem that there might be some alternative implementation
strategies with better performance characteristics, but that's beyond the
scope of a simple patch.
Universal diff patchfile