svn commit: r341233 - head/usr.bin/trim

Warner Losh imp at bsdimp.com
Thu Nov 29 16:27:46 UTC 2018


On Thu, Nov 29, 2018 at 7:49 AM Eugene Grosbein <eugen at freebsd.org> wrote:

> Author: eugen
> Date: Thu Nov 29 14:49:33 2018
> New Revision: 341233
> URL: https://svnweb.freebsd.org/changeset/base/341233
>
> Log:
>   trim(1): unbreak build after r341232 for platforms using gcc and not
> clang
>
>   MFC after:    1 month
>
> Modified:
>   head/usr.bin/trim/trim.c
>
> Modified: head/usr.bin/trim/trim.c
>
> ==============================================================================
> --- head/usr.bin/trim/trim.c    Thu Nov 29 14:21:26 2018        (r341232)
> +++ head/usr.bin/trim/trim.c    Thu Nov 29 14:49:33 2018        (r341233)
> @@ -42,8 +42,10 @@
>  #include <sysexits.h>
>  #include <unistd.h>
>
> +#ifndef lint
>  static const char rcsid[] =
>      "$FreeBSD$";
> +#endif /* not lint */
>

This is spelled FBSDID("$FreeBSD");

It's one of the many issues I have with the code. Should I just fix them?

Warner


More information about the svn-src-head mailing list