summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-03-07 21:37:23 +0000
committerdim <dim@FreeBSD.org>2013-03-07 21:37:23 +0000
commit717830bec1bf2168b350f31ecb736a1d0bf840e3 (patch)
tree1c0a12c640a7aa34ce575a0c49a77a546628c42e /usr.bin
parent17adc22cdbdb130934409ab09f3f8f872ace2e28 (diff)
downloadFreeBSD-src-717830bec1bf2168b350f31ecb736a1d0bf840e3.zip
FreeBSD-src-717830bec1bf2168b350f31ecb736a1d0bf840e3.tar.gz
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/c99/c99.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/c99/c99.c b/usr.bin/c99/c99.c
index f5f273f..79cca89 100644
--- a/usr.bin/c99/c99.c
+++ b/usr.bin/c99/c99.c
@@ -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++)
OpenPOWER on IntegriCloud