Re: detach on quick-save



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/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]