octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MinGW isprint test


From: Michael Goffioul
Subject: Re: MinGW isprint test
Date: Wed, 29 Aug 2012 09:23:14 +0100

On Tue, Aug 28, 2012 at 11:19 PM, Philip Nienhuis <address@hidden> wrote:
Rik wrote:
- mappers.cc: assert (isprint (charset), result) differs in column 10.
\r\n versus \n line endings?

8/28/12

Philip,

This one should be easy to check.  Can you try the following at the command line?

isprint ("\n")
isprint ("\r")

On Unix systems these are both false.  It sounds like character 10 ("\n") may be considered printable no MinGW.

Both give 0.

Column 10 is not character 10, but 9, that is TAB. isprint returns true for that character in Window C runtime library.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]