Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 1995 08:32:16 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        alexis@ww.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: index() doesn't handle NULL strings
Message-ID:  <199511140732.IAA00224@uriah.heep.sax.de>
In-Reply-To: <199511140055.DAA04234@unicorn.ww.net> from "Alexis Yushin" at Nov 14, 95 03:55:56 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Alexis Yushin wrote:
> 
> 	Perhaps it is out-of-date, because I use FreeBSD-2.0.5,
> but if it is not it should be fixed.

If it ain't broken, don't fix it.

NULL pointers do not point to a valid string, therefore string
functions cannot be applied to them.  This has been discussed to death
here, and we generally reject hacking the operating system where
fixing the application is TRT.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511140732.IAA00224>