From owner-cvs-all@FreeBSD.ORG Sun Sep 14 05:31:34 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 CC0C916A4BF; Sun, 14 Sep 2003 05:31:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FDF943FDF; Sun, 14 Sep 2003 05:31:34 -0700 (PDT) (envelope-from ru@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 h8ECVY0U067437; Sun, 14 Sep 2003 05:31:34 -0700 (PDT) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8ECVYcM067435; Sun, 14 Sep 2003 05:31:34 -0700 (PDT) Message-Id: <200309141231.h8ECVYcM067435@repoman.freebsd.org> From: Ruslan Ermilov Date: Sun, 14 Sep 2003 05:31:34 -0700 (PDT) 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 dir.c dir.h main.c make.1 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: Sun, 14 Sep 2003 12:31:34 -0000 ru 2003/09/14 05:31:33 PDT FreeBSD src repository Modified files: usr.bin/make dir.c dir.h main.c make.1 Log: - Cut out the code that caches the "." directory out of Dir_Init() into a separate function, Dir_InitDot(). - Postpone the current and object directories detection (and caching of the "." directory) until after all command line arguments are parsed. This makes the -C option DTRT. PR: bin/47149 Revision Changes Path 1.31 +20 -9 src/usr.bin/make/dir.c 1.11 +1 -0 src/usr.bin/make/dir.h 1.84 +59 -57 src/usr.bin/make/main.c 1.63 +7 -1 src/usr.bin/make/make.1