| delorie.com/archives/browse.cgi | search |
| From: | Paul Shirley <Paul AT chocolat DOT obvious DOT fake DOT foobar DOT co DOT uk> |
| 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 |
In article <35F9EDC2 DOT 248CBBFF AT montana DOT com>, bowman <bowman AT montana DOT com> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |