From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A0141791CD for ; Sat, 7 Dec 2019 13:45:46 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id f4so12392113wmj.1 for ; Sat, 07 Dec 2019 13:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=S3wPzcUDa3eapo4KNxSqlb62hfbestvF+tBzzlidK7U=; b=N5Ulaij2Y7HCo+s1fTonHZ3QRHgan27BSeDMBKMaSZEYXhEMjjktNTzPbgBlaqNFhz /eEnNLPGWSoa+Cw3GZJ3ESGXx+a6QA5o4WRTyNI7158DXc/Y9l2Ur5RH9V62j9WZfzwg 9UndHmmdS3zSx2TvxxatvGvxn/2HJozcLMHnbTRNOqFHEZ5113GCGMTcNZp++Zu/CXMC 6SnEMC3M8sYid/diORE7ulajDHnqS9Qi0xMfHfBCQEC5kz8MiKGfiZ/lMjfGRUEeg5zL NxyVQJ7hsk1oeXaiyLsbjWC198SrVio4iQsvc2Og4Hm87QX7pmuL0j8Z7926EfTqv0P+ Xzjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S3wPzcUDa3eapo4KNxSqlb62hfbestvF+tBzzlidK7U=; b=bNA9+3JyXg4hQm3YFdXl7zr+NHsnGmc86sX+kfvsXaf9qNiO4f6bkhU7Is70vhFPxC VqISJEiVMQOlrdoG1Ki3yZX5jf4yk+c41vBQiyMTmXn9jGh/IW6t1H1bO9gQ2gxPiJ7t l4GYtACr2sXS8ONO6FK3iyvsAS2QngDZ4Rf82SGPFV0nWSq4otaDTcKzbPw57Mu6hWKE qft4rmEPApkzkmoVQVdws7VspMHUSosucnqDxjmje1Ebw1iVQ9TGe1J4GAnuS+ivBaHi owtDEPkDc1kuRryqJfh7eemcf04rpS7JHkJSGEcxlvQ/i9XuDDNiHa15jOt+jH8s3Gp4 gLAg== X-Gm-Message-State: APjAAAX68g2Oc9UEHDXRTv9H7B3+qndiKISaiARzWSDMBMpAxUwH4p0U nBLI+UPmPDLsKLHbJ1OJG9yC5jtV X-Google-Smtp-Source: APXvYqxKtFGVw5YfyxIIbmk4dJVJR4LJqDFKfYucJnWiBQPxsF1ZDgU3gaGHcP+acdU2DVPH1HCf9w== X-Received: by 2002:a7b:c1cc:: with SMTP id a12mr16607225wmj.53.1575755144871; Sat, 07 Dec 2019 13:45:44 -0800 (PST) Received: from fbsd.home (host223-37-dynamic.23-79-r.retail.telecomitalia.it. [79.23.37.223]) by smtp.gmail.com with ESMTPSA id z11sm21012018wrt.82.2019.12.07.13.45.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 13:45:44 -0800 (PST) Date: Sat, 7 Dec 2019 22:45:43 +0100 From: "alf.siciliano@gmail.com" To: edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian Message-Id: <20191207224543.ec830db69d404376505a33ea@gmail.com> In-Reply-To: <20191207194928.GD194728@toaster> References: <20191207171534.GA194728@toaster> <20191207184354.GA5418@nautica> <20191207200147.ca1a7b961f790d11feab8fe7@gmail.com> <20191207193433.GA15586@nautica> <20191207194928.GD194728@toaster> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 7 Dec 2019 19:49:28 +0000 Adam Thompson wrote: > Anyway: > dpkg -l | grep tidy > ii libtidy-dev:amd64 2:5.6.0-10 amd64 HTML/XML syntax checker and > reformatter - development > ii libtidy5deb1:amd64 2:5.6.0-10 amd64 HTML/XML syntax checker and > reformatter - shared library > > So no weird linkage on my side. I wonder if tidySetOptInt also fixes the > FreeBSD port as it's fixed my version (and yes I've compiled and tested this > on Debian)? What I'm not sure about is if that causes other versions of the > library to blow up (and unfortunately don't have any to hand right now to > test). > 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) it seems freebsd current has a newer tidy-html6 (5.7.28) than debian sid (5.6.0), too. Alfonso --- alf.siciliano@gmail.com