gcc/gcc c-incpath.h c-incpath.c c-opts.c fix-h ...

bothner@gcc.gnu.org bothner@gcc.gnu.org
Mon Dec 8 20:10:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	compile-server-branch
Changes by:	bothner@gcc.gnu.org	2003-12-08 20:10:49

Modified files:
	gcc            : c-incpath.h c-incpath.c c-opts.c fix-header.c 
	                 ChangeLog 

Log message:
	* c-incpath.c (add_path):  Add final '/' if missing.
	(add_dup_path):  New function - optimized xstrdup + add_path.
	(add_env_var_paths):  Add final '/' after ".".
	* c-incpath.h (add_dup_path):  New declaration.
	* c-opts.c (c_common_handle_option):  Use add_dup_path.
	(add_prefixed_path):  Add final '/' if missing.
	* fix-header.c (read_scan_file):  Use add_dup_path.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-incpath.h.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.3.4.1&r2=1.3.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-incpath.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.8.2.2&r2=1.8.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.79.2.12&r2=1.79.2.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fix-header.c.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=1.100.2.4&r2=1.100.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=compile-server-branch&r1=2.618.2.72&r2=2.618.2.73



More information about the Gcc-cvs mailing list