edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: "Alfonso S. Siciliano" <alf.siciliano@gmail.com>
Cc: Dominique Martinet <asmadeus@codewreck.org>, edbrowse-dev@edbrowse.org
Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian
Date: Sat, 7 Dec 2019 19:44:13 +0000	[thread overview]
Message-ID: <20191207194413.GC194728@toaster> (raw)
In-Reply-To: <20191207200147.ca1a7b961f790d11feab8fe7@gmail.com>

On Sat, Dec 07, 2019 at 08:01:47PM +0100, Alfonso S. Siciliano wrote:
> Hi all,
> 
> 2 day ago I had the same problem with FreeBSD, the problem was the version of
> tidy-html5, the discussion and fix is:
> 
> https://github.com/CMB/edbrowse/issues/53
> 
> Anyway, now I' m using debian SID, it seems to run, the version of the library
> is: libtidy.so.5deb1.6.0

Yes, I followed that discussion.  I'm running with the same version and it
definitely needs to be tidySetOptInt for this one.  Not sure why or if
that breaks on other distros.  Apparently, from some research, this looks to
be a thing that's happened with other options.  I notice the TidyBodyOnly
option takes a bool but is SetOptInt as well.

From the assertion (and running the code through gdb to find the line which
was exploding) it looks like the option setting code performs some assertion
that the type of the setter matches the expected type of the option.  In the
version on Debian that would appear to be int even though it appears to be one
of tidy's boolean values which it takes as argument.

      parent reply	other threads:[~2019-12-07 19:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 17:15 Adam Thompson
2019-12-07 18:43 ` Dominique Martinet
2019-12-07 19:01   ` Alfonso S. Siciliano
2019-12-07 19:34     ` Dominique Martinet
2019-12-07 19:49       ` Adam Thompson
2019-12-07 21:45         ` alf.siciliano
2019-12-07 22:16           ` Dominique Martinet
2019-12-08  2:29             ` Geoff McLane
2019-12-08  3:56               ` Karl Dahlke
2019-12-08  8:08                 ` Alfonso Sabato Siciliano
2019-12-08  8:07               ` Dominique Martinet
2019-12-08 13:22               ` Adam Thompson
2019-12-08 21:22                 ` Geoff McLane
2019-12-07 19:44     ` Adam Thompson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191207194413.GC194728@toaster \
    --to=arthompson1990@gmail.com \
    --cc=alf.siciliano@gmail.com \
    --cc=asmadeus@codewreck.org \
    --cc=edbrowse-dev@edbrowse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).