3.0.4 RC3 (mingw 3.4.5)-2
Tatsuro MATSUOKA
tmacchant at yahoo.co.jp
Tue Mar 17 19:55:29 CDT 2009
Hello Benjamin
Thank you for your reply.
I will wait your work. Please tell me if you have finished the work through this threads.
I will carry out the checks on both mingw (cr+lf) and cygwin (lf).
Regards
Tatsuro
--- Benjamin Lindner wrote:
> Without this line, I still get a failure in ov-fcn-handle.cc
> And I guess the errors Tatsuro reported also base on this.
>
> This line is required because the code
>
> if (c != '\n' && c != '\r')
> {
> value << c;
> while (is.get (c) && c != '\n' && c != '\r')
> value << c;
> }
>
> retval = value.str ();
> break;
>
> leaves a stray '\n' in the input stream if line endings are CRLF, since
> the while () loop breaks at the first '\r' and the following '\n' is not
> removed.
>
> OK, I'll think of a workaround
>
> benjamin
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
More information about the Octave-maintainers
mailing list