svn commit: r208943 - head/usr.bin/calendar
Juli Mallett
jmallett at FreeBSD.org
Wed Jun 9 19:08:26 UTC 2010
On Wed, Jun 9, 2010 at 03:36, Edwin Groothuis <edwin at 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)?
More information about the svn-src-all
mailing list