mirror of https://github.com/MidnightCommander/mc
* editcmd.c (edit_block_process_cmd): Restore third argument
(but make it /dev/null) for compatibility with old scripts. Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
This commit is contained in:
parent
64605f4785
commit
9a5bacf175
|
@ -1,3 +1,9 @@
|
|||
2002-09-01 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editcmd.c (edit_block_process_cmd): Restore third argument
|
||||
(but make it /dev/null) for compatibility with old scripts.
|
||||
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
2002-08-31 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editwidget.c (edit): Avoid passing an uninitialized color
|
||||
|
|
|
@ -2246,10 +2246,12 @@ edit_block_process_cmd (WEdit * edit, const char *shell_cmd, int block)
|
|||
* Arguments:
|
||||
* $1 - name of the edited file (to check its extention etc).
|
||||
* $2 - file containing the current block.
|
||||
* $3 - file where error messages should be put.
|
||||
* $3 - file where error messages should be put
|
||||
* (for compatibility with old scripts).
|
||||
*/
|
||||
system (catstrs (" ", home_dir, EDIT_DIR, shell_cmd, " ",
|
||||
edit->filename, " ", home_dir, BLOCK_FILE, NULL));
|
||||
edit->filename, " ", home_dir, BLOCK_FILE,
|
||||
" /dev/null", NULL));
|
||||
|
||||
} else {
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue