Re: git: 5626f9e79090 - main - style.9: Document the existence of tools/build/checkstyle9.pl

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 26 Apr 2024 13:30:57 UTC
On Fri, Apr 26, 2024, 3:38 AM Mateusz Piotrowski <0mp@freebsd.org> wrote:

> The branch main has been updated by 0mp:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=5626f9e790901999def12040a60746b0ceeb9b95
>
> commit 5626f9e790901999def12040a60746b0ceeb9b95
> Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
> AuthorDate: 2024-04-26 09:37:01 +0000
> Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
> CommitDate: 2024-04-26 09:37:01 +0000
>
>     style.9: Document the existence of tools/build/checkstyle9.pl
>
>     MFC after:      3 days
>     Sponsored by:   Klara, Inc.
> ---
>  share/man/man9/style.9 | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
> index b111619e8ff6..8eb82e3419ec 100644
> --- a/share/man/man9/style.9
> +++ b/share/man/man9/style.9
> @@ -22,7 +22,7 @@
>  .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
>  .\" SUCH DAMAGE.
>  .\"
> -.Dd January 29, 2024
> +.Dd April 26, 2024
>  .Dt STYLE 9
>  .Os
>  .Sh NAME
> @@ -904,6 +904,10 @@ instead of the older
>  .Fn CTASSERT .
>  .Sh FILES
>  .Bl -tag -width indent
> +.It Pa /usr/src/tools/build/checkstyle9.pl
> +A script to check for violations of
>

Egregious violations and there are some false positives still.

+.Nm
> +in a source file.
>  .It Pa /usr/src/tools/tools/editing/freebsd.el
>  An Emacs plugin to follow the
>  .Fx
>