This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to use strchr, strrchr



"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

> Bootstrapped with no regressions on i686-pc-linux-gnu.  OK to commit?
> 
> gcc/ChangeLog:
> 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
> 
> 	* collect2.c (main, write_c_file_stat), gcc.c (translate_options,
> 	process_command, main), gcov.c (open_files, output_data), tlink.c
> 	(frob_extension, scan_linker_output), toplev.c
> 	(file_name_nondirectory): Use strchr () and strrchr () instead of
> 	index () and rindex ().
> 
> gcc/cp/ChangeLog:
> 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
> 
> 	* dump.c (dequeue_and_dump), lex.c (interface_strcmp), method.c
> 	(build_overload_value), repo.c (open_repo_file), xref.c
> 	(open_xref_file): Use strchr () and strrchr () instead of index ()
> 	and rindex ().
> 
> gcc/f/ChangeLog:
> 2000-11-02  Joseph S. Myers  <jsm28@cam.ac.uk>
> 
> 	* com.c (open_include_file, ffecom_open_include_): Use strchr ()
> 	and strrchr () instead of index () and rindex ().

OK.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]