Date: Sat, 24 Mar 2001 23:48:43 -0800 From: Peter Wemm <peter@netplex.com.au> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> 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 Message-ID: <200103250748.f2P7mhh07573@mobile.wemm.org> In-Reply-To: <200103250247.VAA60913@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote: > <<On Fri, 23 Mar 2001 20:40:49 -0800 (PST), Peter Wemm <peter@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103250748.f2P7mhh07573>