Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael K. Johnson <johnsonm@nigel.vnet.net>
Subject: Re: typo on /usr/include/sys/utsname.h
Date: Thu, 30 May 1996 22:56:20 -0400	[thread overview]
Message-ID: <199605310256.WAA30501@nigel.vnet.net> (raw)
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
><linux/utsname.h> 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 <linux/utsname.h>.
...
>(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

  reply	other threads:[~1996-05-31  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-30 16:19 typo on /usr/include/sys/utsname.h David Mosberger-Tang
1996-05-31  2:56 ` Michael K. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-05-31 15:04 Donnie Barnes
1996-05-31  7:16 David Mosberger-Tang
1996-05-31  9:54 ` Fred Roy
1996-05-31  3:22 David Mosberger-Tang
1996-05-30 14:56 Michael K. Johnson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox