From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: :P test failure
Date: Sat, 28 Mar 2020 16:16:21 +0000 [thread overview]
Message-ID: <2201b40f6fa12f35742262c572750af47516754f.camel@ntlworld.com> (raw)
In-Reply-To: <20200326222120.4832e6ad@tarpaulin.shahaf.local2>
On Thu, 2020-03-26 at 22:21 +0000, Daniel Shahaf wrote:
> Peter Stephenson wrote on Thu, 26 Mar 2020 21:27 +0000:
> > This doesn't work on my machine:
> >
> > # This is a bit brittle as it depends on PATH_MAX.
> > # We could use sysconf..
> > bad_pwd="/${(l:16000:: :):-}"
> > print ${bad_pwd:P} | wc -c
> > 0:modifier ':P' with path too long
> > > 16002
> >
> > The modification fails with error and output
> >
> > zsh: path expansion failed, using root directory
> > 2
>
> The behaviour you see is exactly what the test's _expected_ output was
> before 45583/0004. Is there any chance that you ran HEAD's tests on an
> old zsh binary by accident?
Yes, rebuilding does indeed fix it. Somehow I managed to get it built
with my patch in but not yours --- probably the result of a merge.
Cheers
pws
prev parent reply other threads:[~2020-03-28 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 21:27 Peter Stephenson
2020-03-26 22:21 ` Daniel Shahaf
2020-03-28 16:16 ` Peter Stephenson [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=2201b40f6fa12f35742262c572750af47516754f.camel@ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.org \
/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).