Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 16:01:46 -0700 (PDT)
From:      Garrett Wollman <wollman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc Makefile src/lib/libc/gen gethostname.c
Message-ID:  <200308192301.h7JN1kUG088892@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wollman     2003/08/19 16:01:46 PDT

  FreeBSD src repository

  Modified files:
    lib/libc             Makefile 
    lib/libc/gen         gethostname.c 
  Log:
  Add a kluge suggested by Marcel to paper over the difference between
  gethostname()'s old and new signatures without requiring a library
  bump.  Note that programs which called gethostname() with a negative
  argument were already broken, since the same type conversion was done
  by the old implementation.  Add a note in the Makefile so that whoever
  next bumps the libc revision will delete the kluge at the same time
  (as it will no longer be necessary).  This is only operative on 64-bit
  platforms.
  
  Submitted by:   marcel
  
  Revision  Changes    Path
  1.44      +1 -0      src/lib/libc/Makefile
  1.5       +3 -0      src/lib/libc/gen/gethostname.c



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