From owner-freebsd-hackers Mon Nov 13 17:40:59 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA11070 for hackers-outgoing; Mon, 13 Nov 1995 17:40:59 -0800 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA11065 for ; Mon, 13 Nov 1995 17:40:49 -0800 Received: from relay5.UU.NET (relay5.UU.NET [192.48.96.15]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id RAA02647 for ; Mon, 13 Nov 1995 17:40:44 -0800 Received: from uucp6.UU.NET by relay5.UU.NET with SMTP id QQzpte01609; Mon, 13 Nov 1995 20:39:26 -0500 (EST) Received: from uanet.UUCP by uucp6.UU.NET with UUCP/RMAIL ; Mon, 13 Nov 1995 20:39:26 -0500 Received: by crocodil.monolit.kiev.ua; Tue, 14 Nov 95 03:36:36 +0200 Received: (from alexis@localhost) by unicorn.ww.net (8.6.11/alexis 2.5) id DAA04234 for freebsd-hackers@freebsd.org; Tue, 14 Nov 1995 03:55:58 +0300 Message-Id: <199511140055.DAA04234@unicorn.ww.net> Subject: index() doesn't handle NULL strings To: freebsd-hackers@freebsd.org Date: Tue, 14 Nov 1995 03:55:56 +0300 (MSK) From: "Alexis Yushin" Reply-To: alexis@ww.net (Alexis Yushin) X-Office-Phone: +380 65 2 26.1410 X-Home-Phone: +380 65 2 27.0747 X-NIC-Handle: AY23 X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk Hello, Perhaps it is out-of-date, because I use FreeBSD-2.0.5, but if it is not it should be fixed. I don't send the patch, it is obvious. The idea is in the subject. I see that it may be intended for faster operations, but such a check would help portability. Even if not we should point out the fact in the manual page. alexis -- The signature is being changed.