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

Leonard den Ottolander savannah-bounces at gnu.org
Mon May 16 14:59:47 UTC 2005


URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_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
                Category: Editor
                Severity: 3 - Normal
                  Status: Need Info
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 4.6.0
        Platform Version: GNU/Linux

    _______________________________________________________

Details:

Open a file by symlink to edit, when close to save changes, MC erase symlink
and make a new file. (Erase the symlink)

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 05/16/2005 at 14:59       By: Leonard den Ottolander <leonardjo>
? Could you provide a little more info (platform, example)?

$ mcedit foo
$ ln -s foo bar
$ mcedit bar

just edits foo for me (also tried this with 4.6.0). Or am I missing your
point?


-------------------------------------------------------
Date: Sun 05/15/2005 at 22:41       By: wwp <wwp>
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!






    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
leonardjo                           | 




    _______________________________________________________

Reply to this item at:

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

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




More information about the mc-devel mailing list