From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199605310256.WAA30501@nigel.vnet.net> Date: Thu, 30 May 1996 22:56:20 -0400 From: Michael K. Johnson Subject: Re: typo on /usr/include/sys/utsname.h In-Reply-To: <199605301619.JAA10608@koala.azstarnet.com> David Mosberger-Tang writes: >Well, it's broken all right, but it's not the "#ifndef" that's wrong. >I think it should read "#ifndef __alpha__". The definition in > is _wrong_ for the old libc since it uses the OSF/1 >utsname syscall (which returns fields that are 32 bytes long). Oh, yuck. :-( I'll have to hack su.c not to want domainname unless I can assume glibc, then. >glibc has this fixed. It uses the Linux uname syscall, so it can use >the declaration from . ... >(e.g., timezone and the utmp file). Also, all other libraries have to >be recompiled (X libs, tcl/tk, etc.). I have done this on my system, >but to make this generally available it would be necessary to put >together an entire distribution based on glibc. If somebody wanted to >start working on this, I'd be very happy to lend as much support as I >can. Does everything rebuild correctly so far with glibc? Are lots of patches to other packages required? If so, have you kept track of the patches? In any case, thanks very much for the answer! michaelkjohnson