On Wed, Aug 29, 2001 at 03:58:32AM +0300, Sami Farin wrote:
> there's a new bug introduced 2.4.0 ---> 2.4.2:
> 
> I have these bookmarks
> kernel          ftp://ftp.funet.fi/pub/linux/kernel/
> gnu             ftp://ftp.funet.fi/pub/gnu/gnu/
> 
> then I do in lftp 2.4.2:
> 
> lftp :~> open kernel
> cd ok, cwd=/pub/linux/kernel                          
> lftp ftp.funet.fi:/pub/linux/kernel> open gnu
> cd: Access failed: 550 /pub/linux/kernel/~/pub/gnu/gnu: No such file or directory.

Thanks for report. I have fixed this bug recently. Here is the patch (in case
you don't want to wait for next release):

--- ftpclass.cc 2001/08/22 07:19:07     1.200
+++ ftpclass.cc 2001/08/27 15:42:46     1.201
@@ -18,7 +18,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-/* $Id: ftpclass.cc,v 1.200 2001/08/22 07:19:07 lav Exp $ */
+/* $Id: ftpclass.cc,v 1.201 2001/08/27 15:42:46 lav Exp $ */
 
 #include <config.h>
 
@@ -3170,6 +3170,9 @@
    mdtm_supported=o->mdtm_supported;
    site_chmod_supported=o->site_chmod_supported;
    last_rest=o->last_rest;
+
+   if(!home)
+      home=xstrdup(home_auto);
 
    set_real_cwd(o->real_cwd);
    o->set_real_cwd(0);

-- 
   Alexander.
   

Reply via email to