From owner-cvs-all Sat Mar 24 23:48:48 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 3B01D37B71B; Sat, 24 Mar 2001 23:48:44 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2P7mip12872; Sat, 24 Mar 2001 23:48:44 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2P7mhh07573; Sat, 24 Mar 2001 23:48:43 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103250748.f2P7mhh07573@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Garrett Wollman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_xxx.c src/sys/sys utsname.h src/lib/libc/gen Makefile.inc __xuname.c uname.c In-Reply-To: <200103250247.VAA60913@khavrinen.lcs.mit.edu> Date: Sat, 24 Mar 2001 23:48:43 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Garrett Wollman wrote: > < sa id: > > > clash. The userland uname(3) kinda sucked anyway as the hostname > > etc was too short. > > Library routines are supposed to use protected symbol names to prevent > clashes, and in any case the uname() interface is utterly bogus and > should never be used internal to any library. gethostname() is the > correct interface. Once the TI-RPC stuff has settled down and they aren't struggling with diffs between two different Sun releases as well as NetBSD, I'll be the first in the queue to have the uname() calls taken out and shot. But for now there are bigger problems to worry about. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message