aboutsummaryrefslogtreecommitdiff
path: root/include/filenames.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-01Darwin has case-insensitive filesystemsJoel Brobecker1-0/+8
HFS+, the FS on Darwin, is case insensitive. So this patch adjusts filename_cmp.c to ignore the casing when comparing filenames on Darwin. include/ChangeLog: * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define on Darwin, as well as on the systems that use a DOS-like filesystem. libiberty/ChangeLog: * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of HAVE_CASE_INSENSITIVE_FILE_SYSTEM. From-SVN: r175762
2011-02-28re PR debug/28047 (DWARF output_file_names should really understand DOS ↵Kai Tietz1-0/+3
pathnames) 2011-02-28 Kai Tietz <kai.tietz@onevision.com> PR debug/28047 * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. (lookup_filename): Likewise. * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filename_cmp.c (filename_ncmp): New function. * functions.texi: Regenerated. 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filenames.h (filename_ncmp): New prototype. From-SVN: r170570
2010-04-26* filenames.h (PATH_SEPARATOR): Delete.Pedro Alves1-2/+0
From-SVN: r158742
2010-04-23filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR...Pedro Alves1-20/+32
2010-04-23 Pedro Alves <pedro@codesourcery.com> include/ * filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR, always define it independently of host, add `dos_based' parameter, and handle it. (HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it independently of host, add `dos_based' parameter, and handle it. (IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define it independently of host, add `dos_based' parameter, and handle it. (IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH) (IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH) (HAS_DOS_DRIVE_SPEC): New. (HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1. (IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1. (IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1. * libiberty.h (dos_lbasename, unix_lbasename): Declare. libiberty/ * lbasename.c (lbasename): Split into ... (unix_lbasename, dos_basename): ... these. (lbasename): ... and reimplement on top of them. * Makefile.in (lbasename.o): Add dependency on $(INCDIR)/filenames.h. From-SVN: r158681
2010-04-14* filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.Doug Evans1-2/+12
From-SVN: r158359
2008-03-21* filenames.h: Add extern "C" when compiled with C++.Ian Lance Taylor1-0/+8
From-SVN: r133440
2007-03-29filenames.h (FILENAME_CMP): Adjust define to call filename_cmp regardless of ↵Joel Brobecker1-3/+4
the type of file system. * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp regardless of the type of file system. From-SVN: r123343
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-1/+1
From-SVN: r99518
2003-07-01* filenames.h: New file imported from binutils.Zack Weinberg1-0/+51
From-SVN: r68791