From: Dominique Martinet <asmadeus@codewreck.org>
To: "alf.siciliano@gmail.com" <alf.siciliano@gmail.com>
Cc: edbrowse-dev@edbrowse.org
Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian
Date: Sat, 7 Dec 2019 23:16:26 +0100 [thread overview]
Message-ID: <20191207221625.GA12745@nautica> (raw)
In-Reply-To: <20191207224543.ec830db69d404376505a33ea@gmail.com>
alf.siciliano@gmail.com wrote on Sat, Dec 07, 2019:
> On debian we have the same version of libtidy, but debian sid hasn't the last
> version of edbrowse, so I' m using the old 3.7.5.1-1, if you have compiled
> the last version we are tring a different version.
>
> Anyway, on FreeBSD, I have the last version release 3.7.6 (and git master),
> if I change
> from
> tidyOptSetBool(tdoc, TidyStyleTags, no);
> to
> tidyOptSetInt(tdoc, TidyStyleTags, no);
>
> the runtime output is:
>
> ./edbrowse
> .ebrc: unrecognized keyword linelength at line 49
> edbrowse ready
> b www.google.com
> 12613
> Assertion failed: (option_defs[ optId ].type == TidyInteger), function prvTidySetOptionInt, file /usr/ports/www/tidy-html5/work/tidy-html5-5.7.28/src/config.c, line 487.
> Abort (core dumped)
TidyStyleTags is a bool, no matter how you look at it, trying to change
it to int without understanding what we are doing is not going to help.
I tried rebuilding edbrowse on a debian sid and it works fine here, I
think he either had old build artefact built with previous tidy version
linked with a newer version -- tidy reordered the fields of the enum so
the values will have changed.
I think it is unrelated to the problem you had on FreeBSD anyway, as he
says there is no libtidy-0.99 on his system.
--
Dominique
next prev parent reply other threads:[~2019-12-07 22:16 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 [this message]
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
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=20191207221625.GA12745@nautica \
--to=asmadeus@codewreck.org \
--cc=alf.siciliano@gmail.com \
--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).