svn commit: r248132 - stable/9/usr.bin/c99

Dimitry Andric dim at FreeBSD.org
Sun Mar 10 15:02:31 UTC 2013


Author: dim
Date: Sun Mar 10 15:02:30 2013
New Revision: 248132
URL: http://svnweb.freebsd.org/changeset/base/248132

Log:
  MFC r247953:
  
  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.

Modified:
  stable/9/usr.bin/c99/c99.c
Directory Properties:
  stable/9/usr.bin/c99/   (props changed)

Modified: stable/9/usr.bin/c99/c99.c
==============================================================================
--- stable/9/usr.bin/c99/c99.c	Sun Mar 10 15:01:06 2013	(r248131)
+++ stable/9/usr.bin/c99/c99.c	Sun Mar 10 15:02:30 2013	(r248132)
@@ -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-stable-9 mailing list