Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 14:34:20 +0800
From:      Marcelo Araujo <araujobsdport@gmail.com>
To:        Marcelo Araujo <araujo@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r303540 - head/usr.bin/at
Message-ID:  <CAOfEmZhvZmdHqotDOYDu9NNmd_Gku2m3-3g0QJOwpZH32=1VLw@mail.gmail.com>
In-Reply-To: <201607300632.u6U6WJc5081530@repo.freebsd.org>
References:  <201607300632.u6U6WJc5081530@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-07-30 14:32 GMT+08:00 Marcelo Araujo <araujo@freebsd.org>:

> Author: araujo
> Date: Sat Jul 30 06:32:18 2016
> New Revision: 303540
> URL: https://svnweb.freebsd.org/changeset/base/303540
>
> Log:
>   Use nitems() from sys/param.h
>
>   Sponsored by: gandi.net (BSD Day Taiwan)
>
> Modified:
>   head/usr.bin/at/at.c
>
> Modified: head/usr.bin/at/at.c
>
> ==============================================================================
> --- head/usr.bin/at/at.c        Sat Jul 30 06:19:34 2016        (r303539)
> +++ head/usr.bin/at/at.c        Sat Jul 30 06:32:18 2016        (r303540)
> @@ -356,7 +356,7 @@ writefile(time_t runtimer, char queue)
>         else
>         {
>             size_t i;
> -           for (i=0; i<sizeof(no_export)/sizeof(no_export[0]); i++)
> +           for (i = 0; i < nitems(no_export); i++)
>             {
>                 export = export
>                     && (strncmp(*atenv, no_export[i],
> _______________________________________________
> svn-src-head@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"
>


MFC after 2 weeks.

-- 

-- 
Marcelo Araujo            (__)araujo@FreeBSD.org
\\\'',)http://www.FreeBSD.org <http://www.freebsd.org/>;   \/  \ ^
Power To Server.         .\. /_)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfEmZhvZmdHqotDOYDu9NNmd_Gku2m3-3g0QJOwpZH32=1VLw>