From: Doug Kaufman Newsgroups: comp.os.msdos.djgpp Subject: Help in porting wget Date: 14 Feb 2000 01:18:07 GMT Organization: a2i network Lines: 35 Distribution: world Message-ID: <887l4f$frr$1@samba.rahul.net> NNTP-Posting-Host: waltz.rahul.net NNTP-Posting-User: dkaufman X-Newsreader: NN version 6.5.1 (NOV) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have been trying to port wget to DJGPP using watt-32. The preliminary work is at "http://www.rahul.net/dkaufman/wget153b.zip". I borrowed code from the tar port for adjusting filenames to be 8+3 compatible. The binary, however, crashes when doing recursive retrieval. I've looked at the code, but don't see where the problem is. Since I am not a programmer, I think I need some help interpreting the crashback. The symified crashback follow: 270056/1270056] TCP/IP shutdown: Segmentation violation Exiting due to signal SIGABRT Page fault at eip=0004c539, error=0004 eax=00000008 ebx=00000000 ecx=00000000 edx=00000000 esi=00067f2c edi=00000008 ebp=000f0558 esp=000f054c program=F:\WGET1\WGET-1.5-3\SRC\WGET.EXE cs: sel=00e7 base=10310000 limit=0012ffff ds: sel=00ef base=10310000 limit=0012ffff es: sel=00ef base=10310000 limit=0012ffff fs: sel=00ff base=00000000 limit=0010ffff gs: sel=00ff base=00000000 limit=0010ffff ss: sel=00ef base=10310000 limit=0012ffff App stack: [000f06d8..000706d8] Exceptn stack: [000700e0..0006e1a0] Call frame traceback EIPs: 0x0004c539 _free+77 0x0001721b _freeurl+199, line 349 of url.c 0x000168cc _retrieve_url+896, line 420 of retr.c 0x00015184 _recursive_retrieve+2196, line 411 of recur.c 0x00012eb4 _main+3360, line 700 of main.c 0x0004951e ___crt1_startup+178 Doug -- Doug Kaufman Internet: dkaufman AT rahul DOT net