*BSD News Article 46201


Return to BSD News archive

Xref: sserve comp.infosystems.www.browsers.x:646 comp.unix.bsd.freebsd.misc:2711
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nexus.coast.net!simtel!noc.netcom.net!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.infosystems.www.browsers.x,comp.unix.bsd.freebsd.misc
Subject: Re: Netscape - this is ridiculous
Date: 22 Jun 1995 13:01:38 +0200
Organization: Private U**x site, Dresden.
Lines: 18
Message-ID: <3sbiii$t4c@bonnie.tcd-dresden.de>
References: <1995Jun18.022947.20174@rhrk.uni-kl.de> <JWZ.95Jun19165655@abattoir.netscape.com> <3s64aj$n87@kadath.zeitgeist.net> <JWZ.95Jun21020306@abattoir.netscape.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Jamie Zawinski <jwz@netscape.com> wrote:

>    struct utsname uts;
>    if (uname (&uts) < 0)
>	... print error message ...
>
>So it would appear that the uname() call always fails.

Can you stick a ``perror(0)'' there?

According to the man page of uname(2), the only possible error is an
EFAULT, i.e. the size of `uts' doesn't match the kernel's expect-
ation.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)