OSDN Git Service

2011-03-25 Kai Tietz <ktietz@redhat.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 19:11:26 +0000 (19:11 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 19:11:26 +0000 (19:11 +0000)
commitbb7824b56b89468d2a0fb0094c78b57970638295
tree3c0770ee3a7ff6a848c29032309a198598258211
parent92861a27b7db3d2b86d682fbcb141f43441ad5d2
2011-03-25  Kai Tietz  <ktietz@redhat.com>

* files.c (file_hash_eq): Use filename_cmp
instead of strcmp.
(nonexistent_file_hash_eq): Likewise.
(remap_filename): Likewise.
Handle absolute DOS-path,
(append_file_to_dir): Check for IS_DIR_SEPARATOR
instead of slash.
(read_name_map): Likewise.
* linemap.c (linemap_add): Use filename_cmp
instead of strcmp.
* mkdeps.c (apply_vpath): Use filename_ncmp
instead of strncmp.
(deps_restore): Use filename_cmp instead of
strcmp.
* init.c (read_original_directory): Use
IS_DIR_SEPARATOR instead of checking for slash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171521 138bc75d-0d04-0410-961f-82ee72b054a4
libcpp/ChangeLog
libcpp/files.c
libcpp/init.c
libcpp/line-map.c
libcpp/mkdeps.c