Commit 48664302 by Arnaud Charlet Committed by Arnaud Charlet

osint.adb (Find_Program_Name): Fix handling of VMS version number.

	* osint.adb (Find_Program_Name): Fix handling of VMS version
	number.

From-SVN: r81527
parent 4bed3787
2004-05-05 Arnaud Charlet <charlet@act-europe.fr>
* osint.adb (Find_Program_Name): Fix handling of VMS version
number.
2004-05-05 Emmanuel Briot <briot@act-europe.fr>
* g-os_lib.ads (Invalid_Time): New constant
......
......@@ -1030,12 +1030,12 @@ package body Osint is
if Command_Name (Cindex2) in '0' .. '9' then
for J in reverse Cindex1 .. Cindex2 loop
exit when Command_Name (J) not in '0' .. '9';
if Command_Name (J) = '.' or Command_Name (J) = ';' then
Cindex2 := J - 1;
exit;
end if;
exit when Command_Name (J) not in '0' .. '9';
end loop;
end if;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment