From owner-cvs-all Mon Oct 28 15:35: 5 2002 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 C27C837B401; Mon, 28 Oct 2002 15:35:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83C6E43E4A; Mon, 28 Oct 2002 15:35:04 -0800 (PST) (envelope-from jmallett@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 g9SNXvmV039932; Mon, 28 Oct 2002 15:33:57 -0800 (PST) (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9SNXvvt039931; Mon, 28 Oct 2002 15:33:57 -0800 (PST) Message-Id: <200210282333.g9SNXvvt039931@repoman.freebsd.org> From: Juli Mallett Date: Mon, 28 Oct 2002 15:33:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make Makefile job.c nonints.h str.c var.c var.h var_modify.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/10/28 15:33:57 PST Modified files: usr.bin/make Makefile job.c nonints.h str.c var.c Added files: usr.bin/make var.h var_modify.c Log: Split var.c into var.c and var_modify.c and move all the modification funcs to var_modify.c, for readability. constify some low hanging fruit (string manipulation functions) and the upper layers appropriately. No longer use the private strstr(3) implementation, while changing string code. Tested by: lots of successful make buildworld. Revision Changes Path 1.30 +1 -1 src/usr.bin/make/Makefile 1.47 +2 -2 src/usr.bin/make/job.c 1.19 +3 -4 src/usr.bin/make/nonints.h 1.27 +9 -46 src/usr.bin/make/str.c 1.39 +36 -616 src/usr.bin/make/var.c 1.1 +97 -0 src/usr.bin/make/var.h (new) 1.1 +583 -0 src/usr.bin/make/var_modify.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message