changeset 13966:62a18e06cfc5

Fix %!test bug with isprint on MinGW platform (Bug #34338) mappers.cc (isprint): Don't make character 10 <Return> a printable character on MinGW. This makes MinGW compatible with all other Octave platforms.
author Rik <octave@nomad.inbox5.com>
date Wed, 30 Nov 2011 13:53:38 -0800
parents 16b3736e534b
children 9ff0273cd054
files src/mappers.cc
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/mappers.cc	Wed Nov 30 10:45:52 2011 -0800
+++ b/src/mappers.cc	Wed Nov 30 13:53:38 2011 -0800
@@ -1275,9 +1275,6 @@
 %! charset = char (0:127);
 %! result = zeros (1, 128);
 %! result (33:127) = 1;
-%! if (ispc () && ! isunix ())
-%!   result(10) = 1;
-%! endif
 %! assert(all (isprint (charset) == result));
 
 %!error isprint (1, 2);