PING 2011/3/14 Kai Tietz <ktiet...@googlemail.com>: > Hello, > > this patch fixes some DOS-filename comparision and directory-separator checks. > > Changelog libcpp > > 2011-03-14 Kai Tietz > > * 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. > > Tested for x86_64-pc-linux-gnu and x86_64-w64-mingw32. Ok for apply? > > Regards, > Kai >
-- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination