From owner-svn-src-stable@FreeBSD.ORG Sun Mar 10 15:02:31 2013 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5893B900; Sun, 10 Mar 2013 15:02:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9526AFA2; Sun, 10 Mar 2013 15:02:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2AF2Uv7038403; Sun, 10 Mar 2013 15:02:30 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2AF2Ubk038402; Sun, 10 Mar 2013 15:02:30 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201303101502.r2AF2Ubk038402@svn.freebsd.org> From: Dimitry Andric Date: Sun, 10 Mar 2013 15:02:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r248132 - stable/9/usr.bin/c99 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 15:02:31 -0000 Author: dim Date: Sun Mar 10 15:02:30 2013 New Revision: 248132 URL: http://svnweb.freebsd.org/changeset/base/248132 Log: MFC r247953: Make c99(1) invoke /usr/bin/cc with argv[0] set to "/usr/bin/cc" instead of just "cc", since there is no reason to cause additional path searches in this case. Modified: stable/9/usr.bin/c99/c99.c Directory Properties: stable/9/usr.bin/c99/ (props changed) Modified: stable/9/usr.bin/c99/c99.c ============================================================================== --- stable/9/usr.bin/c99/c99.c Sun Mar 10 15:01:06 2013 (r248131) +++ stable/9/usr.bin/c99/c99.c Sun Mar 10 15:02:30 2013 (r248132) @@ -70,7 +70,7 @@ main(int argc, char *argv[]) usage(); } - addarg("cc"); + addarg("/usr/bin/cc"); addarg("-std=iso9899:1999"); addarg("-pedantic"); for (i = 1; i < optind; i++)