From owner-freebsd-current Fri Nov 2 1: 1:52 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 7000037B40E; Fri, 2 Nov 2001 01:01:34 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fA291LW87219; Fri, 2 Nov 2001 12:01:21 +0300 (MSK) (envelope-from ache) Date: Fri, 2 Nov 2001 12:01:19 +0300 From: "Andrey A. Chernov" To: NINOMIYA Hideyuki Cc: hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: About stscasestr() prototyped with string.h of current lib Message-ID: <20011102120117.A87038@nagual.pp.ru> References: <20011102.173604.78790653.nin@smtp.shikoku.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011102.173604.78790653.nin@smtp.shikoku.ne.jp> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 02, 2001 at 17:36:04 +0900, NINOMIYA Hideyuki wrote: > In implementation with current, even if you implemented it for the > reason that Linux included, there is the problem that behavior is > different from Linux in about prototyping reference. 1) Our strcasestr() implementation is not related to Linux that way. 2) Program must not prototype by itself system-wide functions and should relay on system headers instead. 3) Programs which not follows rule #2 must be fixed by removing prototypes in question from their headers. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message