[Python-Dev] Re: [Patches] Readline replacement under QNX in myreadline.c
Guido van Rossum
guido@python.org
Sat, 26 Feb 2000 11:20:43 -0500
> This patch for Python 1.52 , /Parser/myreadline.c on QNX using Watcom
> C++.
> Readline does not work properly .
> Using QNX input_line function instead of Linux readline.
> ------------------------------------------------------------
> 30,38d29
> <
> < #ifdef __QNX__
> < p = input_line( fp, buf, len );
> < if( p ) {
> < int n = strlen(p);
> < p[n] = '\n';
> < p[n+1] = 0;
> < }
> < #else
> 40d30
> < #endif
> -------------------------------------------------------------
I seem to recall that this came up recently but I don't remember
where. Can anybody jog my memory? What did we decide in the end?
--Guido van Rossum (home page: http://www.python.org/~guido/)