Ticket #2012 (closed defect: fixed)
'External formater' touches /dev/null
Reported by: | mcu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7 |
Component: | mcedit | Version: | 4.7.0.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
When editing as root new (not saved) file, and invoking 'External formatter' menu entry, then /dev/null is replaced by ordinary file (probably not writable by others).
This is old bug, but i never do that as ordinary user, so i couldn't find out what theft or daemon takes important device file and leaves trash...
Change History
Note: See
TracTickets for help on using
tickets.
I tested also ispell menu entry on non saved file - it segfaults and leaves /dev/null.new
src/editor/editcmd.c:2264
tmp = g_strconcat (" ", home_dir, PATH_SEP_STR EDIT_DIR, shell_cmd, " ", quoted_name,
i guess, that redirection is missing...