From owner-cvs-all@FreeBSD.ORG Fri Jan 14 12:22:58 2005 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 2AA0C16A4CE; Fri, 14 Jan 2005 12:22:58 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 003B043D1D; Fri, 14 Jan 2005 12:22:57 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0ECMvGX070950; Fri, 14 Jan 2005 12:22:57 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0ECMvl2070949; Fri, 14 Jan 2005 12:22:57 GMT (envelope-from delphij) Message-Id: <200501141222.j0ECMvl2070949@repoman.freebsd.org> From: Xin LI Date: Fri, 14 Jan 2005 12:22:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rtld-aout shlib.c shlib.h src/sbin/ldconfig Makefile ldconfig.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: Fri, 14 Jan 2005 12:22:58 -0000 delphij 2005-01-14 12:22:57 UTC FreeBSD src repository Modified files: libexec/rtld-aout shlib.c shlib.h sbin/ldconfig Makefile ldconfig.c Log: 64-bit clean + WARNS=6: - Convert the (char *) cast+cast backs magic to memcpy(3). Without this, the resulting code is potentially risky with higher optimization levels. - Avoid same name when calling local variables, as well as global symbols. This reduces confusion for both human and compiler. - Add necessary casts, consts - Use new style function defination. - Minor style.Makefile(5) tweak - Bump WARNS?= from 0 to 6 ** for the aout code: changes are intentionally limited to ease maintaince. Revision Changes Path 1.26 +3 -4 src/libexec/rtld-aout/shlib.c 1.8 +1 -1 src/libexec/rtld-aout/shlib.h 1.20 +1 -1 src/sbin/ldconfig/Makefile 1.42 +26 -21 src/sbin/ldconfig/ldconfig.c