From f5e976a5b5424c7d517669d22afb0cbcbceceffe Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 18 Sep 2009 15:50:26 +0200 Subject: [multiple changes] 2009-09-18 Thomas Quinot * g-socket.adb (Is_Open): New function indicating whether a Selector_Type object is open. 2009-09-18 Vincent Celier * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file is deleted before creating it. 2009-09-18 Robert Dewar * bindgen.adb: Minor reformatting From-SVN: r151842 --- gcc/ada/osint-c.adb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/ada/osint-c.adb') 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; -- cgit v1.1