From owner-freebsd-hackers Fri Nov 2 5: 1:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cheer.mahoroba.org (flets-f0022.kamome.or.jp [211.8.127.22]) by hub.freebsd.org (Postfix) with ESMTP id EBCB837B403; Fri, 2 Nov 2001 05:01:24 -0800 (PST) Received: from peace.mahoroba.org (IDENT:Ekhl1ppaayAOamwHYA9QYqAff6zmLsMUNzwEKTe5aTLQhHuQ/NDoluVRS6XU++8H@peace.mahoroba.org [IPv6:3ffe:505:2:0:200:f8ff:fe05:3eae]) (user=ume mech=CRAM-MD5 bits=0) by cheer.mahoroba.org (8.12.1/8.12.1) with ESMTP/inet6 id fA2D1EfF094687; Fri, 2 Nov 2001 22:01:20 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 02 Nov 2001 22:01:13 +0900 (JST) Message-Id: <20011102.220113.74678450.ume@mahoroba.org> To: ache@nagual.pp.ru Cc: nin@Jp.FreeBSD.org, hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: About stscasestr() prototyped with string.h of current lib From: Hajimu UMEMOTO In-Reply-To: <20011102120117.A87038@nagual.pp.ru> References: <20011102.173604.78790653.nin@smtp.shikoku.ne.jp> <20011102120117.A87038@nagual.pp.ru> X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-Operating-System: FreeBSD 5.0-CURRENT X-Mailer: xcite1.38> Mew version 2.1 on Emacs 21.1 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIp?= X-Weather: =?iso-2022-jp?B?GyRCTEBGfCROP0BGYEBuOCkkT0ZeOGUxKyRHJDkbKEI=?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, >>>>> On Fri, 2 Nov 2001 12:01:19 +0300 >>>>> "Andrey A. Chernov" said: ache> 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. ache> 1) Our strcasestr() implementation is not related to Linux that way. ache> 2) Program must not prototype by itself system-wide functions and should ache> relay on system headers instead. ache> 3) Programs which not follows rule #2 must be fixed by removing ache> prototypes in question from their headers. I think nin said that having strcasestr() in our standard header breaks existing program. That is, our header seems not confirm standard. Mew2 could be compiled even on Linux which has strcasestr(). Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message