diff options
author | Neil Booth <neil@gcc.gnu.org> | 2001-03-04 12:02:02 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-03-04 12:02:02 +0000 |
commit | 7868b4a2520b831eec35cbabc7f28d3694aebbf4 (patch) | |
tree | d7897ebb45f49ac182f124043b11088aa89ca781 /gcc/ChangeLog | |
parent | 91c704c4589f1d5e2a9d4cf3e070b56907cf5f61 (diff) | |
download | gcc-7868b4a2520b831eec35cbabc7f28d3694aebbf4.zip gcc-7868b4a2520b831eec35cbabc7f28d3694aebbf4.tar.gz gcc-7868b4a2520b831eec35cbabc7f28d3694aebbf4.tar.bz2 |
cppfiles.c (_cpp_execute_include): Don't make a null-terminated copy of the filename.
* cppfiles.c (_cpp_execute_include): Don't make a null-terminated
copy of the filename. Don't use CPP_PREV_BUFFER. Don't call
strlen or strcpy; we already know the length.
(_cpp_compare_file_date): Similarly.
* cpphash.h (struct cpp_reader): Delete done_initialising.
(CPP_PREV_BUFFER): Delete.
* cppinit.c (cpp_start_read): Don't set done_initialising.
* cpplex.c (parse_string): Guarantee null-termination.
(_cpp_equiv_toklists): Remove.
* cpplib.c (glue_header_name): Null-terminate.
(do_line): Don't leak memory.
* cpplib.h (BT_WEAK): Delete.
* cppmain.c (cb_ident): Strings are now null-terminated.
From-SVN: r40233
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4190054..7a1772b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,9 +1,25 @@ -2001-03-04 Laurynas Biveinis <lauras@softhome.net>
-
- * gcc.c (convert_filename): Append executable suffix
- if NO_AUTO_EXE_SUFFIX is not defined.
- * gcc.texi: Document NO_AUTO_EXE_SUFFIX.
- * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX.
+2001-03-04 Neil Booth <neil@daikokuya.demon.co.uk> + + * cppfiles.c (_cpp_execute_include): Don't make a null-terminated + copy of the filename. Don't use CPP_PREV_BUFFER. Don't call + strlen or strcpy; we already know the length. + (_cpp_compare_file_date): Similarly. + * cpphash.h (struct cpp_reader): Delete done_initialising. + (CPP_PREV_BUFFER): Delete. + * cppinit.c (cpp_start_read): Don't set done_initialising. + * cpplex.c (parse_string): Guarantee null-termination. + (_cpp_equiv_toklists): Remove. + * cpplib.c (glue_header_name): Null-terminate. + (do_line): Don't leak memory. + * cpplib.h (BT_WEAK): Delete. + * cppmain.c (cb_ident): Strings are now null-terminated. + +2001-03-04 Laurynas Biveinis <lauras@softhome.net> + + * gcc.c (convert_filename): Append executable suffix + if NO_AUTO_EXE_SUFFIX is not defined. + * gcc.texi: Document NO_AUTO_EXE_SUFFIX. + * config/i386/djgpp.h: Define NO_AUTO_EXE_SUFFIX. 2001-03-03 David O'Brien <obrien@FreeBSD.org> |