svn commit: r247953 - head/usr.bin/c99
Dimitry Andric
dim at FreeBSD.org
Thu Mar 7 21:37:24 UTC 2013
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++)
More information about the svn-src-all
mailing list