Modify ↓
Opened 3 years ago
Closed 3 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 | 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)
Changed 3 years ago by ax
comment:1 Changed 3 years ago by bastiK
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



(In [o24097])
Interesting. Good to know this bug/feature...