From owner-cvs-all Wed Aug 30 10:18:52 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 53EA237B43E; Wed, 30 Aug 2000 10:18:48 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA98692; Wed, 30 Aug 2000 11:18:47 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA16983; Wed, 30 Aug 2000 11:18:25 -0600 (MDT) Message-Id: <200008301718.LAA16983@harmony.village.org> To: Ruslan Ermilov Subject: Re: cvs commit: src/lib/libalias alias_proxy.c Cc: Sheldon Hearn , "Andrey A. Chernov" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 30 Aug 2000 18:13:16 +0300." <20000830181316.B82227@sunbay.com> References: <20000830181316.B82227@sunbay.com> <20000830173420.A80504@sunbay.com> <83666.967647763@axl.fw.uunet.co.za> Date: Wed, 30 Aug 2000 11:18:25 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000830181316.B82227@sunbay.com> Ruslan Ermilov writes: : The problem is when a program and library use strtok() simultaneously: : 1. you call strtok() from your main code : 2. you call a library function : 3. library function calls strtok() : 4. you call strtok() from your main code again (poof!) This is what should be documented in style(9). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message