Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 17:02:43 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Ruslan Ermilov <ru@sunbay.com>
Cc:        "Andrey A. Chernov" <ache@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libalias alias_proxy.c 
Message-ID:  <83666.967647763@axl.fw.uunet.co.za>
In-Reply-To: Your message of "Wed, 30 Aug 2000 17:34:20 %2B0300." <20000830173420.A80504@sunbay.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 30 Aug 2000 17:34:20 +0300, Ruslan Ermilov wrote:

> Would be nice if the reason was documented in strtok.3 and/or style.9.
> (such a reason was given in a commitlog for libc_gen/fstab.c,v 1.3).

Looking at the manual page, strtok() is implicitly defined as
non-reentrant when strtok_r is explicitly defined as reentrant.

I wouldn't feel comfortable with adding to the manual page of every
non-reentrant function, a warning against its use in library code.

To me, that feels like adding to every manual page for a utility that
produces output, a warning that redirecting the output to a file with
the shell ">" operator will destroy the existing contents of the file.
:-)


Ciao,
Sheldon.


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?83666.967647763>