From 717830bec1bf2168b350f31ecb736a1d0bf840e3 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 7 Mar 2013 21:37:23 +0000 Subject: 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 --- usr.bin/c99/c99.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- cgit v1.1