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]
Other format: [Raw text]

[Ada] fix file name handling under Vista


Manually tested on vista
Tested on i686-linux, committed on trunk

This patch normalizes file names to lower case in the open circuit for
comparison purposes. In Windows/Vista it is possible to create lower
case drive letters (we are not quite sure how, but at least one user
has encountered this). This causes an unexpected file name mismatch,
which is corrected by the normalization.

No test, since we don't know how to recreate this situation

2007-08-31  Robert Dewar  <dewar@adacore.com>

	* s-fileio.adb (Open): Normalize file name to lower case in non-case
	sensitive file name systems to avoid unexpected mismatch in Vista.

Attachment: difs
Description: Text document


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