From 9aa47367b3676fbb3300e8b61f3a24c6f491fa88 Mon Sep 17 00:00:00 2001 From: Vasiliy Fofanov Date: Tue, 9 Oct 2018 15:05:09 +0000 Subject: [PATCH] [Ada] System.Os_Lib.Normalize_Pathname: fix incorrect comment 2018-10-09 Vasiliy Fofanov gcc/ada/ * libgnat/s-os_lib.ads (Normalize_Pathname): Fix incorrect comment. From-SVN: r264963 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/libgnat/s-os_lib.ads | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 527b350c2ca..d6535fde41f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-10-09 Vasiliy Fofanov + + * libgnat/s-os_lib.ads (Normalize_Pathname): Fix incorrect + comment. + 2018-10-09 Arnaud Charlet * vxlink.adb: Remove pragma Annotate, no longer needed. diff --git a/gcc/ada/libgnat/s-os_lib.ads b/gcc/ada/libgnat/s-os_lib.ads index 1e2ffa354a3..227094900f1 100644 --- a/gcc/ada/libgnat/s-os_lib.ads +++ b/gcc/ada/libgnat/s-os_lib.ads @@ -545,8 +545,8 @@ package System.OS_Lib is -- directory pointed to. This is slightly less efficient, since it -- requires system calls. -- - -- If Name cannot be resolved, is invalid (for example if it is too big) or - -- is null on entry (for example if there is symbolic link circularity, + -- If Name is empty or the path contains symbolic links that can't be + -- resolved (for example there is a symbolic link circularity, -- e.g. A is a symbolic link for B, and B is a symbolic link for A), then -- Normalize_Pathname returns an empty string. -- -- 2.30.2