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.

Andrew V. Samoilov

Join BCS today! For your FREE webmail, visit:

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