summaryrefslogtreecommitdiff
path: root/gcc/ada/prj-env.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 12:46:27 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-09 12:46:27 +0000
commit5e797030173bec0d4f9575a8930c8445e82dae60 (patch)
tree95d004c63d3883e1949ae823996d9c6caeea7d2a /gcc/ada/prj-env.adb
parentfb3e33e4de2f3d0632c30d29fdc417f25360c671 (diff)
downloadgcc-5e797030173bec0d4f9575a8930c8445e82dae60.tar.gz
2010-09-09 Robert Dewar <dewar@adacore.com>
* sem_attr.adb: Minor reformatting. 2010-09-09 Thomas Quinot <quinot@adacore.com> * socket.c (__gnat_socket_ioctl): On Darwin, the req parameter is an unsigned long, not an int. 2010-09-09 Vincent Celier <celier@adacore.com> * make.adb, mlib-prj.adb, prj.adb, prj-nmsc.adb, mlib-tgt.adb, prj-conf.adb, prj-env.adb: Use Display_Name instead of Name whenever we are not checking for equality of path or file names. 2010-09-09 Ed Schonberg <schonberg@adacore.com> * exp_util.adb (Remove_Side_Effects): If the expression is a packed array reference, reset the Analyzed flag so that it is properly expanded when the resulting object declaration is analyzed. 2010-09-09 Vincent Celier <celier@adacore.com> * sinput-p.adb (Source_File_Is_Subunit): Return False if X is No_Source_File. 2010-09-09 Ramon Fernandez <fernandez@adacore.com> * sysdep.c: The wrSbc8548 BSP in MILS doesn't know anything about the VX_SPE_TASK option, so disable it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/prj-env.adb')
-rw-r--r--gcc/ada/prj-env.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/prj-env.adb b/gcc/ada/prj-env.adb
index 0f719c23211..07b173a67fe 100644
--- a/gcc/ada/prj-env.adb
+++ b/gcc/ada/prj-env.adb
@@ -728,7 +728,7 @@ package body Prj.Env is
Fmap.Add_To_File_Map
(Unit_Name => Unit_Name_Type (Data.Unit.Name),
File_Name => Data.File,
- Path_Name => File_Name_Type (Data.Path.Name));
+ Path_Name => File_Name_Type (Data.Path.Display_Name));
end if;
end if;
@@ -831,14 +831,14 @@ package body Prj.Env is
Put_Name_Buffer;
end if;
- Get_Name_String (Source.File);
+ Get_Name_String (Source.Display_File);
Put_Name_Buffer;
if Source.Locally_Removed then
Name_Len := 1;
Name_Buffer (1) := '/';
else
- Get_Name_String (Source.Path.Name);
+ Get_Name_String (Source.Path.Display_Name);
end if;
Put_Name_Buffer;