From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta01.eonet.ne.jp ([203.140.81.20]) by ur; Thu Dec 8 20:42:45 EST 2016 Received: from ci5dell.jitaku.localdomain (182-164-113-115f1.osk3.eonet.ne.jp [182.164.113.115]) by mailmsa11.mozu.eo.k-opti.ad.jp with ESMTP id uB91gc1T008516 for <9front@9front.org>; Fri, 9 Dec 2016 10:42:38 +0900 To: 9front@9front.org Subject: Re: [9front] using smtp port 587 Date: Fri, 9 Dec 2016 10:42:37 +0900 From: kokamoto@hera.eonet.ne.jp Message-ID: In-Reply-To: <893e40ebc6bf2e5126f2db6ea2ccf76b@titan.jitaku.localdomain> References: <893e40ebc6bf2e5126f2db6ea2ccf76b@titan.jitaku.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mailmsa11.mozu.eo.k-opti.ad.jp id uB91gc1T008516 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: responsive XML DOM module dependency-oriented control > Here, '%he' is converted wrongly to '1.633937e-312'. I added the lines in /sys/src/libauth/auth_respond.c like: int auth_respond(void *chal, uint nchal, char *user, uint nuser, void *resp, = uint nresp, AuthGetkey *getkey, char *fmt, ...) { ... if((a =3D auth_attr(rpc)) !=3D nil && (s =3D _strfindattr(a, "user")) !=3D nil && strlen(s) < nuser) strcpy(user, s); else if(nuser > 0) user[0] =3D '\0'; /* for testing K.Okamoto */ <=3D=3D=3D=3D=3D=3D testfd=3Dopen("/usr/kokamoto/test", ORDWR); fprint(testfd, "user=3D%q=C2=A5n", user); /* to here */ <=3D=3D=3D=3D=3D=3D ... } Then,, I got the content of "user" as the same as that wrong conversion of %he to '1.633937e-312'. How do you think this? Kenji