From owner-cvs-all@FreeBSD.ORG Tue Aug 19 16:01:48 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF6116A4C0; Tue, 19 Aug 2003 16:01:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8A6443F85; Tue, 19 Aug 2003 16:01:46 -0700 (PDT) (envelope-from wollman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7JN1k0U088893; Tue, 19 Aug 2003 16:01:46 -0700 (PDT) (envelope-from wollman@repoman.freebsd.org) Received: (from wollman@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7JN1kUG088892; Tue, 19 Aug 2003 16:01:46 -0700 (PDT) Message-Id: <200308192301.h7JN1kUG088892@repoman.freebsd.org> From: Garrett Wollman Date: Tue, 19 Aug 2003 16:01:46 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc Makefile src/lib/libc/gen gethostname.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 23:01:48 -0000 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