Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.0.4 bug: wrong character in hungetc()
- X-seq: zsh-workers 3377
- From: Geoff Wing <mason@xxxxxxxxxxxxxxx>
- To: borsenkow.msk@xxxxxx
- Subject: Re: 3.0.4 bug: wrong character in hungetc()
- Date: Fri, 25 Jul 1997 00:40:04 +1000
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SV4.3.95.970724171954.22407B-100000@itsrm1>; from Andrej Borsenkow on Thu, Jul 24, 1997 at 05:30:37PM +0400
- Organization: PrimeNet Internet Consultancy
- References: <slrn5tei1o.98v.mason@xxxxxxxxxxxxxxxxxxxxx> <Pine.SV4.3.95.970724171954.22407B-100000@itsrm1>
Andrej Borsenkow wrote about Re: 3.0.4 bug: wrong character in hungetc():
:On 24 Jul 1997, Geoff Wing wrote:
:> I might have missed this previously. Has this bug been dealt with?
:> % while ( [[ $I bug 10 ]] ) ; do ; done
:> zsh: condition expected: bug
:> BUG: wrong character in hungetc()
:> BUG: wrong character in hungetc()
:> BUG: wrong character in hungetc()
:Hmmm ... My ZSH 3.0.4 doesn't say "BUG: wrong character in hungetc()", but
:acts somewhat strange:
:
:bor@itsmx1:~%> while ( [[ $I bug 10 ]] ) ; do ; done
:zsh: condition expected: bug
: Now UpArrow and
:bor@itsmx1:~%> while ( [[ $I bug 1
: ^ where is the rest of string?
One of the things I like least, and would probably require a big patch, is
that when parsing fails or gets interrupted, eg. CTRL-C during spelling
confirmation, the line only gets stored in history up to (approximately)
where it got up to.
:I don't recall to use any patches for 3.0.4
You're getting the same bug. "BUG:" lines don't appear unless you have the
right debug define set, eg. via configure, and I presumed that most of us
working on it would, like me, define them all. But it's good that you get
reproduce it. It'll mean that most other people probably can too, which
means we'll let them fix it :-)
--
Geoff Wing [mason@xxxxxxxxxxxxxxx] Phone : +61-3-9818 2977
Technical Manager: PrimeNet Computer Consultants Facsimile: +61-3-9819 3788
Web: <URL:http://www.primenet.com.au/> Mobile : 0412 162 441
Messages sorted by:
Reverse Date,
Date,
Thread,
Author