From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 16677 invoked from network); 25 Aug 2022 19:01:42 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 25 Aug 2022 19:01:42 -0000 Received: from out2.migadu.com ([188.165.223.204]) by 9front; Thu Aug 25 14:58:32 -0400 2022 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fatelectron.net; s=key1; t=1661453908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AFF3HaUYUNljyKVIcD4VQ8XBsmiEYsfnbNDUOfcCeMA=; b=JNmQ5CuJlPbKZv8V0HbvVHrmt0b7ym6i7h3GxeUzMbwgdSvwT0+o3Emz/UtJ6v1ZWGYs7z DAt2PFK3zYHwQ2naAKUn9M9BIETDFLc6iLG6vcCVqAtsTMxHu+qqYCYd5DPDofB6sMQTf1 aaBBEx+xJQT9jZmgpNiG9Q47hNPBDeOxFSEN0OOoHz8PrWbH6q2Ub02s/7II0ejg/1hf+1 Ps6MpmOw3+9Hq/DVW1HQ0f2t8xSch5fnqWe6OZOLLhQKcpxPXO4UW3MGlHCx118bgU7D1w nF+Rfzhk9M2BX4cx3ys2eMUwInHcv5U06/JGu+b80im8VEt5d4aYZ2fK5meq/Q== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ricardo Lanziano Date: Thu, 25 Aug 2022 13:58:15 -0500 To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: fatelectron.net List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stable open-source metadata SOAP over SVG information persistence-oriented manager Subject: [9front] [PATCH] upas/marshal: honor username headers Reply-To: 9front@9front.org Precedence: bulk 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");