I am attaching a patch to implement the following improvements to the exifautotran program: 17 Jan 2008; Israel G. Lugo <israel.lugo@lugosys.com> - Add --preserve option to preserve file modification time. - Fix file permissions being altered. - Only replace original file after everything is known to have gone well. - Fix possibility of data loss; replace original file atomically instead of deleting it then trying to move the new one in place. - Add signal trap to perform cleanup if interrupted (thanks to Debian's exifautotran). - Improve robustness: - use mktemp instead of hardcoded temporary file - quote all expansions of user-controlled variables
Created attachment 141097 [details, diff] add feature to preserve file timestamps, various fixes
I'm CC'ing graphics@gentoo.org since they're listed as maintainers for this package. I would've assigned the bug myself but I don't see the Reassign option anywhere...
Created attachment 141144 [details, diff] new patch version, forgot something Posting a new patch, forgot to skip the file in case jpegexiforient was unable to reset the orientation to 1 (would leave the file in an inconsistent rotation state).
*** Bug 181944 has been marked as a duplicate of this bug. ***
Israel, starting from >=media-libs/jpeg-7 we are using a Debian copy of exifautotran. -> This bug should be reported to Debian bugtracking system.
you dont have to subscribe to anything, just e-mail submit@bugs.debian.org some notes on the patch: - looks like a typo as you use "--pretend" instead of "--preserve" - the mktemp and signal stuff isnt needed anymore as it's included
Removing.