From owner-cvs-all Wed Aug 30 8: 3:51 2000 Delivered-To: cvs-all@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 184C937B42C; Wed, 30 Aug 2000 08:03:45 -0700 (PDT) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13U9Ou-0001gt-00; Wed, 30 Aug 2000 17:03:40 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id RAA28501; Wed, 30 Aug 2000 17:03:39 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 28377; Wed Aug 30 17:02:44 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13U9Nz-000LlT-00; Wed, 30 Aug 2000 17:02:43 +0200 From: Sheldon Hearn To: Ruslan Ermilov Cc: "Andrey A. Chernov" , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libalias alias_proxy.c In-reply-to: Your message of "Wed, 30 Aug 2000 17:34:20 +0300." <20000830173420.A80504@sunbay.com> Date: Wed, 30 Aug 2000 17:02:43 +0200 Message-ID: <83666.967647763@axl.fw.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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