[bug #13091] Open a symlink to edit when save, erase symlink and make a new file.



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 users 0 May 16 17:08 foo

$ mcedit bar
(press F2 then F10)

$ ls -l foo bar

0 -rw-r--r--  1 wwp users 0 May 16 17:09 bar
0 -rw-r--r--  1 wwp users 0 May 16 17:08 foo

as you see, bar is no longer a symlink but a regular file.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13091>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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