9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] [PATCH] upas/marshal: honor username headers
Date: Mon, 05 Sep 2022 23:19:41 -0400	[thread overview]
Message-ID: <92B97C87A7D1692F9E82BBC291888265@eigenstate.org> (raw)
In-Reply-To: <D6376F549EA3562BAF2984BC199945E7@fatelectron.net>

Quoth Ricardo Lanziano <arpunk@fatelectron.net>:
> Use login instead of $upasname
> 
> ---
> diff a786a79acfc5079761f8b3efe72142640c1e9d2c 7fbe81115b367b068061c66904ae7e5bb45b2366
> --- a/sys/src/cmd/upas/marshal/marshal.c	Wed Aug 24 08:55:44 2022
> +++ b/sys/src/cmd/upas/marshal/marshal.c	Wed Aug 24 18:41:13 2022
> @@ -357,7 +357,7 @@
>  		bwritesfree(&out, &hdrstring);
>  
>  	/* read user's standard headers */
> -	mboxpathbuf(file, sizeof file, user, "headers");
> +	mboxpathbuf(file, sizeof file, login, "headers");
>  	if(b = Bopen(file, OREAD)){
>  		if (readheaders(b, &flags, &hdrstring, nil, nil, nil, nil, 0) == Error)
>  			fatal("reading");

(sorry about the slow response)

hm. makes sense to me, but arguable -- you may want
to have custom headers per account, not per user.


  reply	other threads:[~2022-09-06  3:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25 18:58 Ricardo Lanziano
2022-09-06  3:19 ` ori [this message]
2022-09-08  4:10   ` unobe

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=92B97C87A7D1692F9E82BBC291888265@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.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.
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).