Hello,
Max Derzhak <max /at/linux.zp.ua> reported new regression in mcedit. If
you type F4 on stale symlink and press Esc-Esc or F10 after it (no
editting at all) mcedit creates empty file symlink points to and removes
original symlink. This bug is more than annoing, and it was introduced
after 4.5.55. Current behaviour should be changed, but
resolve_symlink() is very expensive, especially over VFS, as far as new
algorithm for file saving when backup is doing by copying original file
to new file and then saving new edition to original filename.
Lines below are from edit/Changelog.
2002-06-24 Pavel Roskin <[EMAIL PROTECTED]>
* edit.c (check_file_access): Return 1 on all errors, document
this behavior. Set edit->delete_file to 1 for newly created
files.
(edit_open_file): Don't set edit->delete_file, it's now done in
check_file_access().
Reported by Saso <[EMAIL PROTECTED]>
--
Regards,
Andrew V. Samoilov
_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel
- Re: [Regression] Editting stale symlink removes symlink... Andrew V. Samoilov
- Re: [Regression] Editting stale symlink removes sy... Pavel Roskin
- Re: [Regression] Editting stale symlink remove... Andrew V. Samoilov