(Starts_With): New subprogram
* compilers/gnatdist/xe_utils.adb
(Scan_Dist_Arg):
Pass --unchecked-shared-lib-imports down to gnat ls
Fixes P120-017
Subversion-branch: /trunk/polyorb
Subversion-revision: 246124
(Namet.Name_Buffer, Namet.Name_Len), which caused a bug when called
from
Errors.Display_Error, which uses the same global variables for a
different
purpose.
Move Image on Int from Frontend.Debug and Backend.BE_CORBA_Ada.Debug to
Utils,
and make it work for negative numbers. This is so Locations.Image can
call
it.
Errors.Display_Error was calling Image (Error_Loc (1)) when it should
use
Image (Error_Loc (2)). This is the case where the "!" refers to a
different
file, due to #include, and we want to display something like
"include_file_name.idl:12:34".
Misc code cleanup and added comments.
Fixes H723-022.
Subversion-branch: /trunk/polyorb
Subversion-revision: 127086
'\',
but windows actually allows two directory separators: '\' and '/'. Use
new
function Utils.Is_Dir_Separator instead. Clean up usage of
Dir_Separator
vs. Directory_Separator, from GNAT.Directory_Operations/GNAT.OS_Lib.
When iac prints messages, such as "idlac: 2 warning(s)", strip off the
directory name and the ".exe" extension from the command name, so it
looks the
same on Unix and Windows. Use new function Utils.Simple_Command_Name.
Part of H513-018.
Subversion-branch: /trunk/polyorb
Subversion-revision: 124972