From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 48ac3a15 for ; Mon, 9 Jan 2017 17:10:42 -0500 (EST) Received: by mail-lf0-f46.google.com with SMTP id v186so49458864lfa.1 for ; Mon, 09 Jan 2017 14:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=+OJF3HhRYQw5GxFMYB1F/xmOkKyMyE4SQNMq8F1Cmak=; b=UkDvYbs7cKURztXYT2Y72AWdaGKZqFophWlXV+Ck/8Ni1WZ2L+gyD4q7aJNDxswpSH 3H4zsfsdOfWYOX4QunCtui3dbgwUXTD29FXtZCavXAnRRg201Zeo5jRDtIAterCU7OfS K1uYm9ezHo5SArQS2ayceJB9lfPgo8G0JDh3wmlm/8wMw+igm6g2WyL5C4NA3L+/AwDK f9vX0eZF/Z5oFVHN/hlVtgEUmclE6MeUtD+1mhCC+QT+IFsXdlMU/F/nImn/TUXuVHRL fFv9VwMU0U6P5IB+xsroKlUuRLlPK3ySZcqEmrhqb/m1xVtFblhFCYM4ukYIPT27Zrn/ Su9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=+OJF3HhRYQw5GxFMYB1F/xmOkKyMyE4SQNMq8F1Cmak=; b=n9SnyvFEfJGWkOVXccow/Avd6+dxkYa2b+RPGLXWl+8ANlk899G2zonwfUdVgWmMhS 8NqiTZcPg96CpCB/NkmtLqewy4LEgI2mfhslIa0tCfPRlpWSSA5n2nmbpYPER/Urwuo9 Nk4DBN/tPuj6gOtY0Mk/GwI8LK3CyJ8K9YTLD80fs5wLloQRwWeNF9EO2tN11e+ux7TJ Fs5iGj5A3HzQDtkENxRSL6M9Dfv3Pmb6zyIDyhWwFDEaLap3DnSOrOR0UzUNEWrQdmGx +xdQS6nAJLJz1x8FV7NkHwNeBXlO4OleTGreysa3+NBVhvCgRO5pu9tajMpxAtDKATCi Xb9g== X-Gm-Message-State: AIkVDXKZYovT3Rg6uGF+EJLfSjuQbyFrg6zlPbINZ9oHKredjH+ivPfoU/U+px1RoKaeVw== X-Received: by 10.46.21.2 with SMTP id s2mr31935282ljd.19.1483999839181; Mon, 09 Jan 2017 14:10:39 -0800 (PST) Received: from [192.168.1.2] ([188.170.202.126]) by smtp.gmail.com with ESMTPSA id 10sm21764128ljo.36.2017.01.09.14.10.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 14:10:38 -0800 (PST) Subject: Re: making all warnings fatal again? To: Ingo Schwarze References: <4e555214-ac40-382d-5495-533423a35219@gmail.com> <20170109024555.GF4271@athene.usta.de> Cc: discuss@mdocml.bsd.lv From: Yuri Pankov Message-ID: Date: Tue, 10 Jan 2017 01:10:37 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 In-Reply-To: <20170109024555.GF4271@athene.usta.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On Mon, 9 Jan 2017 03:45:55 +0100, Ingo Schwarze wrote: > Hi, > > Yuri Pankov wrote on Sat, Jan 07, 2017 at 05:33:26AM +0300: > >> Switching from 1.13.3 to 1.13.4 made mandoc -Tlint exit 0 >> instead of 2 for *some* of the warnings it reports. >> Is there a way to make all warnings "fatal" again? > > Ouch. That is an evil regression that i missed. > Thank you very much for reporting it! > >> For example (not limited to this one, of course): >> >> 1.13.3: >> >> $ mandoc -Tlint foo.1; echo $? >> mandoc: foo.1:2:5: WARNING: lower case character in document title: Dt foo >> 2 >> >> 1.13.4: >> >> $ mandoc -Tlint foo.1; echo $? >> mandoc: foo.1:2:5: WARNING: lower case character in document title: Dt foo >> 0 > > True, it got broken. Failures in the checks that were moved > to mdoc_validate() and man_validate() got ignored in the mandoc(1) > EXIT STATUS, which was wrong. > > I just fixed it in bsd.lv -current and in OpenBSD with the commit > below. > > I hope that it applies to the illumos tree. It does apply to the > vanilla 1.13.4 release version for me, and it seems to work there, > too, and not just in HEAD. Yes, I've picked up the changes from VERSION_1_13, everything seems to be correct now. Thanks for fixing it! > When 1.13.5 and 1.14 get released, this fix wil be contained, > but there is no release schedule yet. > >> P.S.: are the list archives available somewhere? > > Unfortunately, no. The list server does retain copies of the > messages gone through, but the work of making them public was > never done. -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv