*BSD News Article 44877


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.kei.com!bloom-beacon.mit.edu!boulder!junco.fsl.noaa.gov!kelly
From: kelly@junco.fsl.noaa.gov (Sean Kelly)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Major strcmp bug under BSD 2.0?
Date: 1 Jun 1995 20:19:13 GMT
Organization: Forecast Systems Laboratory
Lines: 21
Message-ID: <3ql7c1$629@CUBoulder.Colorado.EDU>
References: <3qfn52$188j@troy.la.locus.com> <3qfpuf$b08@gosset.maths.tcd.ie> <3qga0c$14pf@troy.la.locus.com> <BETSYS.95May31001953@northshore.shore.net>
NNTP-Posting-Host: junco.fsl.noaa.gov

In article <BETSYS.95May31001953@northshore.shore.net>,
Betsy Schwartz <betsys@northshore.shore.net> wrote:
>[ quoting a SunOS man page ]
>>On the Sun processor, as well as on many other machines, you
>>can  not  use  a  NULL pointer to indicate a null string.

Whereas under HP/UX 9000/755:

  Null pointer values for s1 and s2 are treated the same as pointers
  to empty strings.

Just another data point.

-- 
Sean Kelly
NOAA Forecast Systems Lab, Boulder Colorado USA

A power surge on the Bridge is rapidly and correctly diagnosed as a
faulty capacitor by the highly-trained and competent engineering
staff.
-- One of 46 things that never happen on Star Trek