Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 22:50:27 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        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:  <200103240650.f2O6oRh91972@mobile.wemm.org>
In-Reply-To: <200103240440.f2O4en383425@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote:
> peter       2001/03/23 20:40:49 PST
> 
>   Modified files:
>     sys/kern             kern_xxx.c 
>     sys/sys              utsname.h 
>     lib/libc/gen         Makefile.inc __xuname.c uname.c 
>   Log:
>   This is kind of a hack, but it should work.  Currently, world is broken
>   because libc/rpc/key_call.c references uname(), and ps/print.c also
>   defines uname(), and ps is linked statically.  This leads to a symbol
>   clash.

Actually no, this wasn't quite true.  libc was calling the uname() from
print.c, which would have had less than spectacular results if (for example)
it was run on a machine with NIS/YP active for looking up usernames.

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?200103240650.f2O6oRh91972>