On Wed, Jun 9, 2010 at 03:36, Edwin Groothuis <ed...@freebsd.org> wrote:
> Author: edwin
> Date: Wed Jun  9 10:36:25 2010
> New Revision: 208943
> URL: http://svn.freebsd.org/changeset/base/208943
>
> Log:
>  fix memset() calls.

> -       memset(&tm, sizeof(struct tm), 0);
> +       memset(&tm, '\0', sizeof(struct tm));

Why use this novel spelling of 0 instead of simply reordering the
arguments (which already used the normal invocation)?
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to