diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-22 17:06:51 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-22 17:06:51 +0200 |
commit | 35afb0125671933617554b0c4acc290dcfb28bf3 (patch) | |
tree | 65f938145c606e2a1c619b397f4b905478806ceb /gcc/ada/tempdir.adb | |
parent | 10d2a6f738d2c8865e6fa162d19fb702cc341b44 (diff) | |
download | gcc-35afb0125671933617554b0c4acc290dcfb28bf3.zip gcc-35afb0125671933617554b0c4acc290dcfb28bf3.tar.gz gcc-35afb0125671933617554b0c4acc290dcfb28bf3.tar.bz2 |
[multiple changes]
2009-04-22 Vincent Celier <celier@adacore.com>
* tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when
the temporary file cannot be created, indicating the directory when the
creation was attempted.
2009-04-22 Emmanuel Briot <briot@adacore.com>
* prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare
the language names, not their indices.
From-SVN: r146585
Diffstat (limited to 'gcc/ada/tempdir.adb')
-rw-r--r-- | gcc/ada/tempdir.adb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/tempdir.adb b/gcc/ada/tempdir.adb index f814335..1612140 100644 --- a/gcc/ada/tempdir.adb +++ b/gcc/ada/tempdir.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2003-2007, Free Software Foundation, Inc. -- +-- Copyright (C) 2003-2009, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -94,6 +94,10 @@ package body Tempdir is end if; if FD = Invalid_FD then + if Verbose_Mode then + Write_Line ("could not create temporary file in " & Directory); + end if; + Name := No_Path; else |