From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: strcmp and nulls, one more time, Sam Date: Mon, 14 Sep 1998 18:01:32 +0300 Organization: NetVision LTD. Lines: 9 Message-ID: References: <35F9EDC2 DOT 248CBBFF AT montana DOT com> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <35F9EDC2.248CBBFF@montana.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 11 Sep 1998, bowman wrote: > 1. strcmp against a null will fail, causing a segfault under cwsdpmi, > perhaps not if using the Win95 dpmi. IMHO, it's a bug in that package. It shouldn't assume that a library implementation handles NULL pointers gracefully. (Windows 95 just ignores null pointer dereferences, as we all know.)