From: Paul Shirley Newsgroups: comp.os.msdos.djgpp Subject: Re: strcmp and nulls, one more time, Sam Date: Wed, 16 Sep 1998 13:36:15 +0100 Organization: wot? me? Lines: 11 Message-ID: <7EM4iZA$C7$1EwjA@foobar.co.uk> References: <35F9EDC2 DOT 248CBBFF AT montana DOT com> NNTP-Posting-Host: london.netkonect.net Mime-Version: 1.0 NNTP-Posting-Date: 16 Sep 1998 17:06:30 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <35F9EDC2 DOT 248CBBFF AT montana DOT com>, bowman writes >4. ANSI C does not stipulate that strcmp should handle nulls. Correct: its a *bonus* that djgpp seg faults, since it helps you find *your* bugs. I have the misfortune to use a gcc that does not fault, but lets the OS variables get quietly trashed, be grateful ;) --- Paul Shirley: my email address is 'obvious'ly anti-spammed