3.3.2 fixed double free but introduced another bug.
(gdb) bt
#0 0x08079e24 in Job::BuryDoneJobs (this=0x97c11e0) at Job.cc:356
#1 0x0807e86c in CmdExec::Do (this=0x97c11e0) at CmdExec.cc:609
#2 0x0809a6cf in SMTask::Schedule () at SMTask.cc:216
#3 0x08071c27 in WaitDone (exec=0x97c11e0) at lftp.cc:73
#4 0x08072460 in main (argc=2, argv=0xbf980744) at lftp.cc:405
(gdb) frame
#0 0x08079e24 in Job::BuryDoneJobs (this=0x97c11e0) at Job.cc:356
356 if((scan->parent==this || scan->parent==0) && scan->jobno>=0
(gdb) c
Continuing.
%%% wait ten seconds and press ^C %%%
Program received signal SIGINT, Interrupt.
0x08079e69 in Job::BuryDoneJobs (this=0x97c11e0) at Job.cc:363
363 scan=scan->next;
(gdb) print *scan
$10 = {<SMTask> = {_vptr.SMTask = 0x812bac8, next = 0x97d24a8, static chain =
0x97b54a8,
static sched_total = {fds = 0x97e03a0, fds_num = 0, fds_allocated = 16,
timeout = -1},
static stack = 0x97b54d0, static stack_ptr = 2, static stack_size = 16,
suspended = false, suspended_slave = false, running = 0, deleting = false,
block = {
fds = 0x0, fds_num = 0, fds_allocated = 0, timeout = -1},
static now = {<Time> = {<time_tuple> = {sec = 1129570637, msec = 588}, <No
data fields>},
local_time_unix = 0, local_time = {tm_sec = 0, tm_min = 0, tm_hour = 0,
tm_mday = 0,
tm_mon = 0, tm_year = 0, tm_wday = 0, tm_yday = 0, tm_isdst = 0,
tm_gmtoff = 0,
tm_zone = 0x0}}, static current = 0x97c11e0}, next = 0x97b6740,
static chain = 0x9803730, waiting_alloc = 4, fg = false, fg_data = 0x0, jobno
= 0,
parent = 0x97c11e0, waiting = 0x98098b8, waiting_num = 1,
cmdline = 0x9870020 "get beecrypt-4.1.2-9.src.rpm"}
also, lftp doesn't seem to accept the command on the first time:
cd ok, cwd=/pub/source/lftp
lftp ftp.yars.free.net:/pub/source/lftp> ls
lftp ftp.yars.free.net:/pub/source/lftp> rels
lftp ftp.yars.free.net:/pub/source/lftp> rels
lftp ftp.yars.free.net:/pub/source/lftp> ls
drwxr-xr-x -- /
drwxr-xr-x -- /pub
drwxr-xr-x -- ..
drwxr-xr-x -- .
drwxr-xr-x - 2005-10-17 15:55 binaries
drwxr-xr-x - 2005-10-05 15:33 devel
-rw-r--r-- 29K 2005-03-23 00:00 lftp-3.1.0-3.1.1.diff.gz
-rw-r--r-- 37K 2005-04-04 00:00 lftp-3.1.1-3.1.2.diff.gz
..
--