HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: callback: postprocess-html (got SIGTRAP)
Author: Xavier Roche
Date: 05/28/2006 23:09
 
> just like this.
> int httrack_wrapper_postprocesshtml(char** html,int*
> len,char* url_adresse,char* url_fichier) {
>   char *p = _strdup(*html);
>   *html = p;
> }

Humm, can't reproduce the issue witht the 3.41 code, using the callback:

static int postprocess(httrackp *opt, char** html,int* len,const char*
url_address,const char* url_file) {
  char *old = *html;
  *html = strdup(*html);
  free(old);
  return 1;
}

Can you provide the stackframe of the process please ?
By the way, are you running on Linux ?
 
Reply Create subthread


All articles

Subject Author Date
callback: postprocess-html (got SIGTRAP)

05/16/2006 18:05
Re: callback: postprocess-html (got SIGTRAP)

05/16/2006 18:09
Re: callback: postprocess-html (got SIGTRAP)

05/28/2006 23:09




a

Created with FORUM 2.0.11