# HG changeset patch # User Rik # Date 1582322834 28800 # Node ID 9413b3d56e00591515c7f91839702c6217a28363 # Parent a578890b4942eea2aab3817b166b56499e9ec309 what.m: Report mex files in directory (bug #57877) * what.m: Change comparison of extension looking for mex file from "mexext" to "['.' mexext]" because extension includes the period. diff -r a578890b4942 -r 9413b3d56e00 scripts/miscellaneous/what.m --- a/scripts/miscellaneous/what.m Fri Feb 21 16:08:12 2020 +0100 +++ b/scripts/miscellaneous/what.m Fri Feb 21 14:07:14 2020 -0800 @@ -163,7 +163,7 @@ if (isfile (fullfile (dir, nm))) w.oct{end+1} = nm; endif - elseif (strcmp (e, mexext ())) + elseif (strcmp (e, ['.' mexext])) if (isfile (fullfile (dir, nm))) w.mex{end+1} = nm; endif