Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 1996 23:01:34 -0700 (PDT)
From:      Nate Williams <nate>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/ibcs2 ibcs2_stat.c
Message-ID:  <199606080601.XAA13337@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
nate        96/06/07 23:01:33

  Modified:    sys/i386/ibcs2  ibcs2_stat.c
  Log:
  When uname() returns the system name, try to use the unqualified domain
  name (ie; strip off the domain).  Given a hostname 'fooey.bar.com', the
  previous code returned a system name of 'fooey.ba', instead of the more
  correct 'fooey'.  SCO uses 'uname' for many things, including some of
  it's socket code so this patch is necessary for running certain legacy
  SCO apps. :)
  
  A variant of this code has been running on my box for 2 months now.
  
  Revision  Changes    Path
  1.4       +6 -1      src/sys/i386/ibcs2/ibcs2_stat.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606080601.XAA13337>