Date: Sun, 10 Mar 2013 15:02:30 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> 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 Message-ID: <201303101502.r2AF2Ubk038402@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303101502.r2AF2Ubk038402>