Date: Mon, 31 Oct 94 10:25:33 EST From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: NULL pointers in (ANSI) string functions [was: strcat() ?] Reply-To: babcock AT cfa DOT harvard DOT edu > If ANSI makes it illegal (not undefined), then the following > discussion doesn't belong here (and I apologize), since GCC attempts > to provide the option of ANSI conformance. If it's undefined then > theoretically DJ could provide more robust libraries It might be nice to have a _debugging_ library which checked for things like null pointers passed to strxxx() routines. A related item: Borland compilers tend to print "(null)" when you pass null to printf rather than crashing or printing garbage.