[MacPorts] #29563: convmv @1.14_0 renaming deletes files
MacPorts
noreply at macports.org
Mon May 23 08:47:32 PDT 2011
#29563: convmv @1.14_0 renaming deletes files
----------------------------------+-----------------------------------------
Reporter: gabor.papp@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: haspatch | Port: convmv
----------------------------------+-----------------------------------------
{{{
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.
--
Ticket URL: <https://trac.macports.org/ticket/29563>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list