adaint.c
60.9 KB
-
adaint.c (__gnat_to_canonical_file_spec): Check for error returns in call to decc$translate_vms. · 99b97b2e
2005-06-14 Doug Rupp <rupp@adacore.com> Pascal Obry <obry@adacore.com> * adaint.c (__gnat_to_canonical_file_spec): Check for error returns in call to decc$translate_vms. (__gnat_locate_regular_file): Check if the path_val contains quotes. We need to remove those quotes before catenating the filename. (__gnat_locate_exec_on_path): improvements to the Win32 section: * avoid allocating the memory twice for better efficiency; * allocate 32K buffer for environment expansion as suggested by MSDN; * prepend ".;" to the path so that current directory is searched too. From-SVN: r101020
Doug Rupp committed