Update of bug #13091 (project mc):
Status:None = Need Info
___
Follow-up Comment #2:
? Could you provide a little more info (platform, example)?
$ mcedit foo
$ ln -s foo bar
$ mcedit
URL:
http://savannah.gnu.org/bugs/?func=detailitemitem_id=13091
Summary: Open a symlink to edit when save, erase symlink
and make a new file.
Project: GNU Midnight Commander
Submitted by: None
Submitted on: Sun 05/15/2005 at 22:19
Follow-up Comment #3, bug #13091 (project mc):
GNU/Linux x86, FC3 running mc 4.6.1-pre4 from the sources (was: SuSE 8.x, mc
4.6.x from the sources and older mc versions):
$ rm -f foo bar; touch foo; ln -s foo bar; ls -l foo bar
lrwxrwxrwx 1 wwp users 3 May 16 17:08 bar - foo
-rw-r--r-- 1 wwp
Follow-up Comment #4, bug #13091 (project mc):
Weird. I cannot reproduce this on FC1 with MC_4_6_1_PRE from a couple of days
ago. Where did you get this pre4 so I can compare?
Can you reproduce this with mc-4.6.1-0.14.FC3 (pre3 with patches) or latest
MC_4_6_1_PRE? Is it reproducible for non 0
Follow-up Comment #5, bug #13091 (project mc):
F9 - options - save mode - switch to quick save
and everything is fine ...
it might be worth consideration, though, to make the safe save and do
backups modes follow symlinks.
___
Reply to
Follow-up Comment #6, bug #13091 (project mc):
Weird. I cannot reproduce this on FC1 with MC_4_6_1_PRE from a couple of
days ago. Where did you get this pre4 so I can compare?
I cannot remember, official places to find mc tarballs are still obscure to
me. But IIRC it was from a official
Follow-up Comment #1, bug #13091 (project mc):
I do my best to avoid this behaviour in mc for years :-\ (now w/
4.6.1-pre4a). I hope it's not by design that mc replaces an edited symlink w/
the target file when saving/editing it!
___