Mercurial > octave
changeset 33506:c8a91da569ac
edit.m: Pass actual boolean value instead of [] (bug #65665)
The function system() was being called from edit.m with the empty matrix []
instead of a boolean value. That is now changed to false, following input
validation changes to system().
* edit.m: Change `[]` to `false` in system call.
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Wed, 01 May 2024 22:14:17 -0400 |
parents | 747b9a4bc70c |
children | cb5a5349a879 1d0365c531a1 |
files | scripts/miscellaneous/edit.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/edit.m Wed May 01 17:19:32 2024 -0400 +++ b/scripts/miscellaneous/edit.m Wed May 01 22:14:17 2024 -0400 @@ -571,7 +571,7 @@ if (isguirunning ()) __event_manager_edit_file__ (file); else - system (sprintf (undo_string_escapes (editor), ['"' file '"']), [], mode); + system (sprintf (undo_string_escapes (editor), ['"' file '"']), false, mode); endif endfunction