Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 18:16:23 +0300
From:      Ruslan Ermilov <ru@sunbay.com>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Sheldon Hearn <sheldonh@uunet.co.za>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libalias alias_proxy.c
Message-ID:  <20000830181623.C82227@sunbay.com>
In-Reply-To: <20000830191124.A5556@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Aug 30, 2000 at 07:11:25PM %2B0400
References:  <20000830173420.A80504@sunbay.com> <83666.967647763@axl.fw.uunet.co.za> <20000830191124.A5556@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000830181623.C82227>