aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/osint-c.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-09-18 15:50:26 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-09-18 15:50:26 +0200
commitf5e976a5b5424c7d517669d22afb0cbcbceceffe (patch)
tree2b138ed12345e85367c8b9dcf120c6b734dbf81e /gcc/ada/osint-c.adb
parent658cea5b3e38f28dcdfe3322998089e2c19bad07 (diff)
downloadgcc-f5e976a5b5424c7d517669d22afb0cbcbceceffe.zip
gcc-f5e976a5b5424c7d517669d22afb0cbcbceceffe.tar.gz
gcc-f5e976a5b5424c7d517669d22afb0cbcbceceffe.tar.bz2
[multiple changes]
2009-09-18 Thomas Quinot <quinot@adacore.com> * g-socket.adb (Is_Open): New function indicating whether a Selector_Type object is open. 2009-09-18 Vincent Celier <celier@adacore.com> * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file is deleted before creating it. 2009-09-18 Robert Dewar <dewar@adacore.com> * bindgen.adb: Minor reformatting From-SVN: r151842
Diffstat (limited to 'gcc/ada/osint-c.adb')
-rw-r--r--gcc/ada/osint-c.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/osint-c.adb b/gcc/ada/osint-c.adb
index a93573e..8b67bef 100644
--- a/gcc/ada/osint-c.adb
+++ b/gcc/ada/osint-c.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2001-2008, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-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- --
@@ -202,8 +202,12 @@ package body Osint.C is
--------------------------------
procedure Create_Output_Library_Info is
+ Dummy : Boolean;
+ pragma Unreferenced (Dummy);
+
begin
Set_Library_Info_Name;
+ Delete_File (Name_Buffer (1 .. Name_Len), Dummy);
Create_File_And_Check (Output_FD, Text);
end Create_Output_Library_Info;