aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cstreams.c
diff options
context:
space:
mode:
authorPascal Obry <obry@adacore.com>2018-01-11 08:52:39 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-01-11 08:52:39 +0000
commit7d1553e2b65506288b554e948856e9330cee3e5f (patch)
tree9b32aa80d05dd8c033b23b465923bfa4d792a8e4 /gcc/ada/cstreams.c
parent1646b09f3b917a135a15084ccd1a8ce41ddf3d38 (diff)
downloadgcc-7d1553e2b65506288b554e948856e9330cee3e5f.zip
gcc-7d1553e2b65506288b554e948856e9330cee3e5f.tar.gz
gcc-7d1553e2b65506288b554e948856e9330cee3e5f.tar.bz2
[Ada] New implementation for Normalize_Pathname
This implementation fixes an issue on Windows where a single drive letter was not followed by a directory separator. On Windows the following program: with Ada.Text_IO; use Ada.Text_IO; with GNAT.OS_Lib; use GNAT.OS_Lib; procedure Main is begin Put_Line (Normalize_Pathname ("c:\")); Put_Line (Normalize_Pathname ("c:\toto\..")); end Main; Must output: C:\ C:\ 2018-01-11 Pascal Obry <obry@adacore.com> gcc/ada/ * libgnat/s-os_lib.adb (Normalize_Pathname): New implementation. From-SVN: r256501
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions