From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: readlink 18 Nov 1998 06:21:15 -0800 Message-ID: <19981118090258.E25096.cygnus.cygwin32.developers@cygnus.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Kazuhiro Fujieda , cygwin32-developers AT cygnus DOT com I have fixed this in another way in our sources. It should be in B20.1, assuming I can fix the "slow configure" problem. On Wed, Nov 18, 1998 at 12:14:18PM +0900, Kazuhiro Fujieda wrote: >>>> 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 > -- cgf AT cygnus DOT com http://www.cygnus.com/