aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasiliy Fofanov <fofanov@adacore.com>2018-10-09 15:05:09 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-10-09 15:05:09 +0000
commit9aa47367b3676fbb3300e8b61f3a24c6f491fa88 (patch)
tree726d8bcc924dda8015573f5724ee782ec1c19bd1
parent0960ddad82fa68e895f59ddfc21e7c35586fa565 (diff)
downloadgcc-9aa47367b3676fbb3300e8b61f3a24c6f491fa88.zip
gcc-9aa47367b3676fbb3300e8b61f3a24c6f491fa88.tar.gz
gcc-9aa47367b3676fbb3300e8b61f3a24c6f491fa88.tar.bz2
[Ada] System.Os_Lib.Normalize_Pathname: fix incorrect comment
2018-10-09 Vasiliy Fofanov <fofanov@adacore.com> gcc/ada/ * libgnat/s-os_lib.ads (Normalize_Pathname): Fix incorrect comment. From-SVN: r264963
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/libgnat/s-os_lib.ads4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 527b350..d6535fd 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-09 Vasiliy Fofanov <fofanov@adacore.com>
+
+ * libgnat/s-os_lib.ads (Normalize_Pathname): Fix incorrect
+ comment.
+
2018-10-09 Arnaud Charlet <charlet@adacore.com>
* 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 1e2ffa3..2270949 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.
--