From owner-cvs-all Wed Aug 30 8:17:20 2000 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 0C6E937B43E; Wed, 30 Aug 2000 08:17:06 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id SAA83306; Wed, 30 Aug 2000 18:16:23 +0300 (EEST) Date: Wed, 30 Aug 2000 18:16:23 +0300 From: Ruslan Ermilov To: "Andrey A. Chernov" Cc: Sheldon Hearn , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libalias alias_proxy.c Message-ID: <20000830181623.C82227@sunbay.com> References: <20000830173420.A80504@sunbay.com> <83666.967647763@axl.fw.uunet.co.za> <20000830191124.A5556@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000830191124.A5556@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Aug 30, 2000 at 07:11:25PM +0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 30, 2000 at 07:11:25PM +0400, Andrey A. Chernov wrote: > On Wed, Aug 30, 2000 at 05:02:43PM +0200, Sheldon Hearn wrote: > > Looking at the manual page, strtok() is implicitly defined as > > non-reentrant when strtok_r is explicitly defined as reentrant. > > This gives me somewhat unrelated but interesting idea: > > Detect somehow at compile time that dangerous function present during > library building process and produce compile-time warning. > We could define a symbol, say _LIBRARY_BUILDING in bsd.lib.mk. The rest is obvious. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message