From owner-svn-src-head@FreeBSD.ORG Thu Mar 7 21:37:24 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1D484FDD; Thu, 7 Mar 2013 21:37:24 +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 04DB0600; Thu, 7 Mar 2013 21:37:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r27LbNCi018641; Thu, 7 Mar 2013 21:37:23 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r27LbNBC018640; Thu, 7 Mar 2013 21:37:23 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201303072137.r27LbNBC018640@svn.freebsd.org> From: Dimitry Andric Date: Thu, 7 Mar 2013 21:37:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r247953 - head/usr.bin/c99 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 21:37:24 -0000 Author: dim Date: Thu Mar 7 21:37:23 2013 New Revision: 247953 URL: http://svnweb.freebsd.org/changeset/base/247953 Log: 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. MFC after: 3 days Modified: head/usr.bin/c99/c99.c Modified: head/usr.bin/c99/c99.c ============================================================================== --- head/usr.bin/c99/c99.c Thu Mar 7 21:36:04 2013 (r247952) +++ head/usr.bin/c99/c99.c Thu Mar 7 21:37:23 2013 (r247953) @@ -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++)