aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/tempdir.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/tempdir.adb')
-rw-r--r--gcc/ada/tempdir.adb6
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