diff options
author | dim <dim@FreeBSD.org> | 2013-03-07 21:37:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-03-07 21:37:23 +0000 |
commit | 717830bec1bf2168b350f31ecb736a1d0bf840e3 (patch) | |
tree | 1c0a12c640a7aa34ce575a0c49a77a546628c42e | |
parent | 17adc22cdbdb130934409ab09f3f8f872ace2e28 (diff) | |
download | FreeBSD-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
-rw-r--r-- | usr.bin/c99/c99.c | 2 |
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++) |