From: fujieda AT jaist DOT ac DOT jp (Kazuhiro Fujieda) Subject: Re: readlink 17 Nov 1998 19:25:33 -0800 Message-ID: References: Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.100 - "Shijima") Content-Type: text/plain; charset=US-ASCII To: cygwin32-developers AT cygnus DOT com >>> On Tue, 17 Nov 1998 08:26:50 -0500 >>> Christopher Faylor said: > I don't believe that this patch will handle the case of > /a/b/c/d where c and d are both symlinks. It is true. By applying the following patch moreover, it may comes to work fine. --- path.cc- Wed Nov 18 11:52:21 1998 +++ path.cc Wed Nov 18 11:22:28 1998 @@ -1604,7 +1604,7 @@ int readlink (const char *path, char *buf, int buflen) { - path_conv pathbuf (path, -1); + path_conv pathbuf (path, 0); if (pathbuf.error) { set_errno (pathbuf.error); ____ | AIST Kazuhiro Fujieda | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology