Package: lftp
Version: 4.3.8-1.1
Severity: minor

Hello,

I noticed that lftp sometimes has trouble with "cd //" :

    % LANG=C lftp ftp.microsoft.com
    lftp ftp.microsoft.com:~> cd Products/Windows/Windows95
    cd ok, cwd=/Products/Windows/Windows95                     
    lftp ftp.microsoft.com:/Products/Windows/Windows95> cd //
    lftp: ftpclass.cc:4037: void Ftp::CheckResp(int): Assertion 
`!strcmp(arg,file)' failed.
    zsh: abort      LANG=C lftp ftp.microsoft.com

Doing a "cd /" works, as does a "cd //" just after connecting.
It is also noteworthy that it depends on the connected server:

    % LANG=C lftp ftp.debian.org   
    lftp ftp.debian.org:~> cd debian/dists/sid
    cd ok, cwd=/debian/dists/sid           
    lftp ftp.debian.org:/debian/dists/sid> cd //
    cd ok, cwd=//                      
    lftp ftp.debian.org://> 

That's probably not a big bug (hence the minor severity), but I
thought that a visible abort() was worth a bug report.

Thanks, have a nice day !

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lftp depends on:
ii  libc6         2.13-38
ii  libgcc1       1:4.7.2-5
ii  libgnutls26   2.12.20-6
ii  libreadline6  6.2+dfsg-0.1
ii  libtinfo5     5.9-10
ii  netbase       5.0

lftp recommends no packages.

lftp suggests no packages.

-- no debconf information

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to