*BSD News Article 45801


Return to BSD News archive

Xref: sserve comp.infosystems.www.browsers.x:583 comp.unix.bsd.freebsd.misc:2354
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nexus.coast.net!news.kei.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!news.clark.net!rahul.net!a2i!genmagic!dvts.dvts.com!flop.mcom.com!usenet
From: jwz@netscape.com (Jamie Zawinski)
Newsgroups: comp.infosystems.www.browsers.x,comp.unix.bsd.freebsd.misc
Subject: Re: Netscape - this is ridiculous
Date: 21 Jun 1995 09:03:06 GMT
Organization: Netscape Communications Corporation
Lines: 20
Message-ID: <JWZ.95Jun21020306@abattoir.netscape.com>
References: <1995Jun18.022947.20174@rhrk.uni-kl.de>
	<JWZ.95Jun19165655@abattoir.netscape.com>
	<3s64aj$n87@kadath.zeitgeist.net>
NNTP-Posting-Host: abattoir.netscape.com
In-reply-to: "Amancio Hasty, Jr."'s message of 20 Jun 1995 09:27:47 GMT

In comp.infosystems.www.browsers.x Amancio Hasty, Jr. <hasty@rah.star-gate.com> wrote:
>
> jwz@netscape.com (Jamie Zawinski) wrote:
>>
>> Someone familiar with FreeBSD internals will have to figure this one out.
>
> Perhaps if you tell us what error condition are you checking for in uname we
> can fix it :)

    struct utsname uts;
    if (uname (&uts) < 0)
	... print error message ...

So it would appear that the uname() call always fails.

-- 
Jamie Zawinski        jwz@netscape.com      http://www.netscape.com/people/jwz/
``A unix signature isn't a return address, it's the ASCII equivalent of a black
  velvet clown painting.  It's a rectangle of carets surrounding a quote from a
  literary giant of weeniedom like Heinlein or Dr. Who.'' -- Chris Maeda