From owner-freebsd-ports Sat Feb 24 13:38:51 2001 Delivered-To: freebsd-ports@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 3A9E037B503 for ; Sat, 24 Feb 2001 13:38:49 -0800 (PST) (envelope-from nnd@wint.itfs.nsk.su) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.2/8.11.1) id f1OLaF716230; Sun, 25 Feb 2001 03:36:15 +0600 (NOVT) (envelope-from nnd) Date: Sun, 25 Feb 2001 03:36:15 +0600 (NOVT) Message-Id: <200102242136.f1OLaF716230@wint.itfs.nsk.su> From: nnd@mail.nsk.ru To: Dirk Nimmich Cc: ports@freebsd.org Subject: Re: Patch for tin's src/keymap.c error In-Reply-To: <20010224193515.A901@roxel.ms.sub.org> User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <20010224193515.A901@roxel.ms.sub.org> you wrote: > > Still, I don't think it's a good idea to work directly on the > environment. A much better idea is to use a local copy of the > value, so please try the patch attached to this message. Yes, your patch make tin's behavior correct with respect to envinronment variables. (And my patch was not the right one - in the case where strlen(map) == 0 the value of ptr is undefined ;-() Thanks for the quick and exhaustive answer. N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message