[Ada] Preserve casing of output files

Pierre-Marie de Rodat derodat@adacore.com
Fri Jul 10 09:44:20 GMT 2020


Windows is case insensitive but also case preserving, so we don't want to
generate a file in lower case if the input file wasn't.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* osint-c.adb (Set_File_Name): Preserve casing of file.
	* osint.adb (File_Names_Equal): New.
	(Executable_Name): Use File_Equal instead of
	Canonical_Case_File_Name.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 6119 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200710/ff146c80/attachment-0001.bin>


More information about the Gcc-patches mailing list