Mercurial > hg > octave-terminal
changeset 12950:93a1d99183fb stable
tar.m: Fix validation of inputs (bug #33988)
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Thu, 11 Aug 2011 12:49:11 -0500 |
parents | 8b5b85e26246 |
children | 818299a39ae1 |
files | scripts/miscellaneous/tar.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/tar.m +++ b/scripts/miscellaneous/tar.m @@ -42,7 +42,7 @@ files = cellstr (files); endif - if (ischar (tarfile) && iscellstr (files) && ischar (root)) + if (! (ischar (tarfile) && iscellstr (files) && ischar (root))) error ("tar: all arguments must be character strings"); endif