]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove use of global name buffer
authorRonan Desplanques <desplanques@adacore.com>
Tue, 12 Nov 2024 12:35:17 +0000 (13:35 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 26 Nov 2024 09:49:34 +0000 (10:49 +0100)
commit222da6bd24838c700ef72648da2956bade588b47
tree66e981672993af93962910dfd8d72507157d8c69
parent22bd31334267d40435c353632fae86f648a20ace
ada: Remove use of global name buffer

Before this patch, the body of Fname.UF.Get_File_Name did a lot of
juggling with the global name buffer, which made it hard to understand.
This patch makes the body use local buffers instead.

gcc/ada/ChangeLog:

* fname-uf.adb (Get_File_Name): Use local name buffers.
gcc/ada/fname-uf.adb