=================================================================== RCS file: /cvs/mandoc/Attic/mdoc_strings.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- mandoc/Attic/mdoc_strings.c 2009/10/26 04:09:46 1.11 +++ mandoc/Attic/mdoc_strings.c 2009/10/27 08:26:12 1.12 @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.11 2009/10/26 04:09:46 kristaps Exp $ */ +/* $Id: mdoc_strings.c,v 1.12 2009/10/27 08:26:12 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -131,7 +131,7 @@ mdoc_atotime(const char *p) struct tm tm; char *pp; - bzero(&tm, sizeof(struct tm)); + memset(&tm, 0, sizeof(struct tm)); if (0 == strcmp(p, "$" "Mdocdate$")) return(time(NULL));