Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unknown user error
- X-seq: zsh-workers 43092
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: unknown user error
- Date: Fri, 22 Jun 2018 19:46:00 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=zmyjsy kjsnQkGc4bY/shFkm0NftgkwcrnQ6KAmM5mto=; b=C4L2XKWw6bdbXs62uYbauZ TuPV5lPXMktzbQxNqIUEuzUpMjl7Pi+vZ5uhphu8Q1FeAfAW50selMnDyx3KnVXW ZBrau2A4NKs3GOatQ+oX/VfzlalGV7UmNR/bR4tNGki+HrWglsMRXFjkRtskMyOS vhZWWayQtVVLfDpn/fohCHqo7d/km3KzVPimNXeTSdiVQzaGWz/jDLti/KZeGJEc ialLTKok8HOTgopVGUEjzHS5RWhEbmuaW3Km6JjWvvNJV0wK8dqo+JgkCBnPGraZ 0OCq4QOUU5566NbgLqDwcfDM9IJaABpor9WFWu5BBc5yl1Kx1hgUWjdT+aaaV+yA ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=zmyjsy kjsnQkGc4bY/shFkm0NftgkwcrnQ6KAmM5mto=; b=DsPDRPl7MQS/iy5Z/xhdXS XQNFDChsjI7Psg5NMftnRPs7gCilTbBqODhnGX+1m92fQHMTG3z2sOWSNs890B6c CSNBOa3hJ/gWGKpiFuLlNqU4oLmHawpZ12b3SpC/ITU5Q/xkMCx5sp+YxJari0U8 opRnnlKjFLZoxTnIsu4IF7pmfMUeSM0oF80XxudGGDJMJskhAc+bhaIUAJw/DN8V vINutQ2zWSyMj+W8pEQWVpCX7v9dPuRE2W2fLp6fRxSyuuBYTA8TLPSCRihiS1GY OkJTJ4yK8GsgUl033mGxKtFnKd4bolkJnNB7fyDn4Y5Fk2km7rWfT044Hqc50m1Q ==
- In-reply-to: <CAH+w=7as0cmdE0h2NQdSyY_sSHX+crUrB=72-HhEZcf8jfqgUg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <BYAPR07MB464776FCD03668F17DBBA59598750@BYAPR07MB4647.namprd07.prod.outlook.com> <1529684455.1249728.1417132120.58CBE195@webmail.messagingengine.com> <CAH+w=7as0cmdE0h2NQdSyY_sSHX+crUrB=72-HhEZcf8jfqgUg@mail.gmail.com>
Bart Schaefer wrote on Fri, 22 Jun 2018 09:52 -0700:
> On Fri, Jun 22, 2018 at 9:20 AM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Let's expand that error message. Patch attached.
>
> Why make it "user: %s" in one ifdef-branch but "username '%s'" in the other?
The #else branch says "username" because, in that preprocessor codepath,
the argument to the (u) globqual is resolvable if it's numeric (a uid)
but not if it's a username.
The #if branch says "user" because that's what it said before the patch.
I guess I'll change it unless someone sees a reason to preserve the
exact error message.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author