]> git.ipfire.org Git - thirdparty/gcc.git/commit
adaint.c (__gnat_to_canonical_file_spec): Check for error returns in call to decc...
authorDoug Rupp <rupp@adacore.com>
Thu, 16 Jun 2005 08:30:18 +0000 (10:30 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2005 08:30:18 +0000 (10:30 +0200)
commit99b97b2e96674bbb43bcd9509009fd2e2663c287
tree844344f2c331434b0910c59cb402352ca3d232dd
parent1e813ab6c01a9a4628f991c7a91719e4988c590c
adaint.c (__gnat_to_canonical_file_spec): Check for error returns in call to decc$translate_vms.

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
gcc/ada/adaint.c