[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-patches
Subject:    [Patches] Readline replacement under QNX in myreadline.c
From:       guido () python ! org (Guido van Rossum)
Date:       2000-02-26 16:20:43
Message-ID: 200002261620.LAA21156 () eric ! cnri ! reston ! va ! us
[Download RAW message or body]

> 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/)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic