#29563 closed defect (fixed)
convmv @1.14_0 renaming deletes files
Reported by: | gabor.papp@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | convmv |
Description
convmv --lower --notest --replace FILE
deletes 'FILE' instead of renaming it to 'file'. I believe this is because convmv overwrites files by deleting the output file first, then renaming the input. This can cause problems on case-insensitive file systems. The attached simple patch removes file deletion before renaming.
Attachments (1)
Change History (5)
Changed 13 years ago by gabor.papp@…
Attachment: | rename.patch added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 13 years ago by gabor.papp@…
I have reported it, although it's an OS X specific problem, since the linux filesystem is case-sensitive by default.
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed a variant of your patch in r78864. Hopefully upstream will fix it for the next release.
Note: See
TracTickets for help on using
tickets.
Can you please report this to the developer of convmv?