detach on quick-save
Andrew V. Samoilov
andrew at email.zp.ua
Wed Feb 9 10:45:44 UTC 2005
Hello, Oswald!
> in quick-save mode the editor just overwrites the existing file. this is
> all fine ... except when you cloned a source tree with "cp -al" and want
> to patch one copy.
> this patch adds a check whether the file has multiple hard links and
> asks whether the file should be "detached" before saving.
> not sure the dialog looks 100% right, but you get the idea. :)
Safe save has to be the best choise for these cases.
Also you cannot move mc_chown()/mc_chmod() calls because they must be called
before mc_open(). Elsewhere mc editor will hang for FTPD timeout on ftpfs
and forever on fishfs.
--
Regards,
Andrew V. Samoilov
________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
More information about the mc-devel
mailing list