Hello.

If foo is a symlink targeting "foo", GNAT's implementation of
Ada.Directories.Full_Name ("foo") returns "".

System.OS_Lib.Normalize_Pathname body ends with:

--  Too many iterations: give up
--  This can happen when there is a circularity in the symbolic links: A
--  is a symbolic link for B, which itself is a symbolic link, and the
--  target of B or of another symbolic link target of B is A. In this
--  case, we return an empty string to indicate failure to resolve.

This seems to be an error according to RM-A-16 72/2.
Do I miss something, or is it a bug?


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20120225000805.GB7392@pegase

Reply via email to