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 bug in gnatchop under VMS


Manually tested on VMS.
Tested on i686-linux. Committed on mainline.

Gnatchop looks first in its own "which" directory when searching for
programs to spawn, e.g gcc. It gets the directory from Command_Name
prefix which, on VMS, is of course VMS style. This style defeats
the algorithm used to find the prefix, so it must first be "normalized"
which essentially converts it to Unix style.

2005-03-08  Doug Rupp  <rupp@adacore.com>

	* gnatchop.adb (Locate_Executable): Normalize the possibly VMS style
	Command_Name.

Attachment: difs.19
Description: Text document


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