MC ignores preserve attributes on copy/move

Sasa Kovacev skovacev at neobee.net
Wed Nov 14 09:50:48 UTC 2007


MC always tries to set attributes on copy/move even if "Preserve  
Attributes" is turned off.

In latest stable MC 4.6.1 you can find in file.c on line 797

         if (!appending && ctx->preserve) {

but now is mistakenly changed to

         if (!appending) {

Fix is simple. Just revert changed line to latest stable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-11-13-2007-cvs-preserve_attr.patch
Type: application/octet-stream
Size: 422 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20071114/dbc72d06/attachment.obj>


More information about the mc-devel mailing list