From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: arr=('') broken
Date: Fri, 28 Jun 1996 17:08:26 +0200 (MET DST) [thread overview]
Message-ID: <199606281508.RAA01280@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199606281452.QAA23567@hydra.ifh.de> from Peter Stephenson at "Jun 28, 96 04:52:14 pm"
> Assigning empty strings to arrays (set -A still works OK) was broken
> by the changes in untokenisation. This broke my multicomp function.
>
> % sofar=('')
> % print $#sofar
> 0
>
> The patch should be something like the following. I've written it
> this way on the assumption that if we get as far as the array code,
> the list must have passed through globlist and hence has had unwanted
> elements pruned already. As I understand it, globlist() now always
> returns untokenised text, and one needs to be careful not to
> untokenise twice which can in principal do bad things to
> eight-bit-cleanliness, which is why I added the first hunk and removed
> the untokenize() in the second hunk.
I also discovered this bug and fixed yesterday :-) in a bit different way.
There is no problem calling untokenize twice. Untokenize does not affect
8-bit cleannes. 8-bit conversion is only done when zsh communicates with
the outer world.
zsh-3.0-pre1 will be out today which will have this fixed.
Zoltan
prev parent reply other threads:[~1996-06-28 15:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-28 14:52 Peter Stephenson
1996-06-28 15:08 ` Zoltan Hidvegi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199606281508.RAA01280@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).