9front - general discussion about 9front
 help / color / mirror / Atom feed
From: unobe@cpan.org
To: 9front@9front.org
Subject: Re: [9front] [PATCH] upas/marshal: honor username headers
Date: Wed, 07 Sep 2022 21:10:00 -0700	[thread overview]
Message-ID: <405E52DFB3D6D7172F2DB16B3E96D9AB@smtp.pobox.com> (raw)
In-Reply-To: <92B97C87A7D1692F9E82BBC291888265@eigenstate.org>

Quoth ori@eigenstate.org:
> 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.
> 

indeed.


      reply	other threads:[~2022-09-08  4:11 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
2022-09-08  4:10   ` unobe [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=405E52DFB3D6D7172F2DB16B3E96D9AB@smtp.pobox.com \
    --to=unobe@cpan.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).