Zsh Mailing List Archive
Messages sorted by:
- X-seq: zsh-workers 14368
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: mlandis <mlandis@xxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: 4.0.1-pre-4
- Date: Wed, 16 May 2001 23:07:30 +0100
- In-reply-to: "mlandis"'s message of "Wed, 16 May 2001 13:44:20 PDT." <Pine.LNX.3.96.1010516100236.11167A-100000@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> ./A01grammar.ztst: starting.
> Test ./A01grammar.ztst failed: bad status 1, expected 0 from:
> echo f*
> noglob echo f*
> Error output:
> ZTST_execchunk:2: no matches found: f*
> Was testing: `noglob' precommand modifier
> ./A01grammar.ztst: test failed.
(By the way, I don't think you've mentioned what system this is on yet.)
The globbing failure is the basic problem (maybe not the only one, but the
one to solve first). This is stupid, but have you tried doing `setopt
glob' before trying a pattern match on files?
[[ foo = f* ]] && print "that worked"
work? If not, it looks like pattern.c wasn't compiled properly. In that
case, it may be some alignment problem. You can probe a bit further by
[[ foo = foo ]] && print "it worked that time"
since strings are optimised not to do full pattern matching. After that,
I'm stuck without some kind of debugger trace.
If the pattern match did work, however, it's probably something wrong with
the file code, maybe something like readdir(). It's nothing to do with
this from Etc/MACHINES, is it? It's unlikely to be different from
Sun: Solaris 2.*
The UCB versions of the routines for reading directories are not
usable (the struct definitions are incompatible with the ones
assumed by zsh). The symptom of this is that globbed filenames in
the compiled version of zsh will be missing the first two letters.
To avoid this, make sure you compile zsh without any reference
to /usr/ucblib in your LD_LIBRARY_PATH. You can easily do this
by just unsetting LD_LIBRARY_PATH before building zsh.
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Messages sorted by: