Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

getzlequery



I'm getting a `test is always zero' message from getlzlequery() in
zle_utils.c due to testing whether a char is EOF.  This is something
to do with:

        * Src/utils.c: getquery always returned n on cray-unicos. From
          Richard D. Slater (2136)

Either the test shouldn't be there, or the variable c should be an
int, or the variable should be a signed char and we need to check
whether the compiler supports it (and we presumably lose the ability
to recognise character 255, so that's probably wrong).  I don't know
which avoids reintroducing the UNICOS problem.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



Messages sorted by: Reverse Date, Date, Thread, Author