From owner-cvs-all@FreeBSD.ORG Fri Feb 4 16:48:36 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 0D92716A4CE; Fri, 4 Feb 2005 16:48:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D629B43D53; Fri, 4 Feb 2005 16:48:35 +0000 (GMT) (envelope-from harti@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 j14GmZeQ046938; Fri, 4 Feb 2005 16:48:35 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j14GmZDR046934; Fri, 4 Feb 2005 16:48:35 GMT (envelope-from harti) Message-Id: <200502041648.j14GmZDR046934@repoman.freebsd.org> From: Hartmut Brandt Date: Fri, 4 Feb 2005 16:48:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make buf.c buf.h 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, 04 Feb 2005 16:48:36 -0000 harti 2005-02-04 16:48:35 UTC FreeBSD src repository Modified files: usr.bin/make buf.c buf.h Log: Rewrite of the buf code: - convert Buf_AddByte from a macro to a function - move #define's into the header file - remove unused field in struct Buffer - remove size fields - they can be easily computed - inline Buf_OvAddByte Submitted by: Max Okumoto Revision Changes Path 1.29 +88 -156 src/usr.bin/make/buf.c 1.21 +7 -13 src/usr.bin/make/buf.h