From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8C00D791CD for ; Sat, 7 Dec 2019 11:44:17 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id w15so11636556wru.4 for ; Sat, 07 Dec 2019 11:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=AC5zGSGsJbQBACDLmOKexzVdaJR27tq0RVPV7W1SJ2g=; b=ar2SvwJVQaG0ime47363Brf8mytw86jA7AdBwO9JT+6lFYs4ninCg4gFe+Vm44Ifsq Apn9B6UJva1t7PI2+9qXVdpdjd4UP7O4H4FKF+q0xSqjsKsXbxQNqb65FuRlUzVKfjh6 tD3dCcBDNicHQBQpFO2uFPIx7VVshOsRQwLiduJQVvIbNjm3cVXEpTuN0gZ9EKMBHlfk t8464V5A7tJluFwCN6ccL34WsxYdjDl0nj7eQDF9e4DFeaNJFpzxO+SYUGwRpYMOm0oW Nl+l7wX1fVmZA9u2IjWqdNZ0W6x8ZyD0IwYPabELFdLSV5hbQa7S1vSgBFIBs4Tga0tc GsqA== 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AC5zGSGsJbQBACDLmOKexzVdaJR27tq0RVPV7W1SJ2g=; b=HZQEf1KKUw/JgeGBCdbLvO89KT1LKIY1OGINC/5Zd+8q211Zu2Tr9VZyjiMzVffPOK BY3FxX/ifaWd+24x0Gj7Il+tL/bKuX6JkrYqQ/Hdx1AcxCqEzcfdHBFu0k+6u3CitOV6 SGECmxyDzk8WfOzh9N3hbY9sGnG/zoYLKEcsrkt0GolM39eLvsWemKzlkrgEKyvICE/t TORX8zQ/wqFOvhZgkk2Np6VFf6mUkoSKPHZzGftMGKe+sX9rW0Q4TwZl1yaqJTn2lroF sb/xN3bq9Xa8uherCkzLXC/qC2EUBAb+mm17J3cQGlqobHIQRgOekzsB/AgZJO9bDduJ H8pg== X-Gm-Message-State: APjAAAWyo4xG/REAcMzxXtDvoBDuhgSWJ4UovXfRgk8LV3Wj5J1o8g51 8ubUm/YD5e3twbc/jUfxqaM= X-Google-Smtp-Source: APXvYqzLDRA91COEuUwijnc2imPI3pcHZJGSY7Fw0ksD07Psm4somzDtEilDFjkGvPSSnLHYiRp77g== X-Received: by 2002:adf:ee82:: with SMTP id b2mr23392861wro.194.1575747855741; Sat, 07 Dec 2019 11:44:15 -0800 (PST) Received: from toaster (a.5.9.3.b.f.e.f.f.f.4.4.2.d.a.2.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:2ad2:44ff:fefb:395a]) by smtp.gmail.com with ESMTPSA id c15sm20384768wrt.1.2019.12.07.11.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 11:44:15 -0800 (PST) Date: Sat, 7 Dec 2019 19:44:13 +0000 From: Adam Thompson To: "Alfonso S. Siciliano" Cc: Dominique Martinet , edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian Message-ID: <20191207194413.GC194728@toaster> References: <20191207171534.GA194728@toaster> <20191207184354.GA5418@nautica> <20191207200147.ca1a7b961f790d11feab8fe7@gmail.com> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191207200147.ca1a7b961f790d11feab8fe7@gmail.com> User-Agent: Mutt/1.12.2 (2019-09-21) 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.