www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/14/05:27:31

From: abarak AT iil DOT intel DOT com (Amit Barak)
Newsgroups: comp.os.msdos.djgpp
Subject: strcmp("anything",NULL) -> error ??
Date: 14 Feb 1997 08:42:19 GMT
Organization: Intel Israel (74) Ltd.
Lines: 10
Message-ID: <5e18hb$tb8@www.iil.intel.com>
NNTP-Posting-Host: ilx214.iil.intel.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

it seems that calling 'strcmp(..)' with one of its arguments equals
a null pointer causes run-time error (Page fault)

is this normal behavior (compared to other compilers) ?

-- 
 amit barak
 intel israel (74)
 voice: 972-4-865-6010
 email: abarak AT iil DOT intel DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019