Modify ↓
Opened 13 years ago
Closed 13 years ago
#5602 closed defect (fixed)
[PATCH] photo_geotagging fails to write coordinates into image header on win32
Reported by: | ax | Owned by: | bastiK |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin photo_geotagging | Version: | latest |
Keywords: | win32 | Cc: |
Description
if the "keep backup files" option is unchecked. error message: "Could not rename file!"
reason: file.renameTo(fileDst) fails on win32 if fileDst exists, a behavior different to linux/unix/solaris.
fix: don't create fileDst
via File.createTempFile()
, but via new File()
, and use UUID.randomUUID()
to get a unique file name.
patch: attached.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | photo_geotagging.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [o24097])
Interesting. Good to know this bug/feature...