diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-03-07 21:37:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-03-07 21:37:23 +0000 |
commit | d023c5ae25df1b5d0ec59186c2de5c3e5fb69e58 (patch) | |
tree | 1c0a12c640a7aa34ce575a0c49a77a546628c42e | |
parent | b1bbb41f966a04488da73f35fe397e07b502ca99 (diff) | |
download | src-d023c5ae25df1b5d0ec59186c2de5c3e5fb69e58.tar.gz src-d023c5ae25df1b5d0ec59186c2de5c3e5fb69e58.zip |
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
Notes
Notes:
svn path=/head/; revision=247953
-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 f5f273f565ff..79cca8957db4 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++) |