diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2021-06-25 21:31:14 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2021-06-25 21:31:14 +0000 |
commit | b0c40a00a67f611868fc0f10bde6b28eb75931be (patch) | |
tree | 52a1546ba15bad38b8f9613fd19d4215195bb0cf /contrib/bmake/targ.c | |
parent | cab31e0e216c7defefd4aba14693ba2252ea7308 (diff) | |
parent | ee914ef902ae018bd4f67192832120f9bf05651f (diff) | |
download | src-b0c40a00a67f611868fc0f10bde6b28eb75931be.tar.gz src-b0c40a00a67f611868fc0f10bde6b28eb75931be.zip |
Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_merge
Diffstat (limited to 'contrib/bmake/targ.c')
-rw-r--r-- | contrib/bmake/targ.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/bmake/targ.c b/contrib/bmake/targ.c index 2b02f233ac48..68573644ff35 100644 --- a/contrib/bmake/targ.c +++ b/contrib/bmake/targ.c @@ -1,4 +1,4 @@ -/* $NetBSD: targ.c,v 1.165 2021/02/04 21:42:46 rillig Exp $ */ +/* $NetBSD: targ.c,v 1.168 2021/04/03 12:01:00 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -93,7 +93,7 @@ * Targ_FindList Given a list of names, find nodes for all * of them, creating them as necessary. * - * Targ_Precious Return TRUE if the target is precious and + * Targ_Precious Return true if the target is precious and * should not be removed if we are interrupted. * * Targ_Propagate Propagate information between related nodes. @@ -113,7 +113,7 @@ #include "dir.h" /* "@(#)targ.c 8.2 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: targ.c,v 1.165 2021/02/04 21:42:46 rillig Exp $"); +MAKE_RCSID("$NetBSD: targ.c,v 1.168 2021/04/03 12:01:00 rillig Exp $"); /* * All target nodes that appeared on the left-hand side of one of the @@ -246,7 +246,7 @@ GNode_Free(void *gnp) * SCOPE_GLOBAL), it should be safe to free the variables as well, * since each node manages the memory for all its variables itself. * - * XXX: The GNodes that are only used as variable scopes (VAR_CMD, + * XXX: The GNodes that are only used as variable scopes (SCOPE_CMD, * SCOPE_GLOBAL, SCOPE_INTERNAL) are not freed at all (see Var_End, * where they are not mentioned). These might be freed at all, if * their variable values are indeed not used anywhere else (see @@ -283,7 +283,7 @@ Targ_FindNode(const char *name) GNode * Targ_GetNode(const char *name) { - Boolean isNew; + bool isNew; HashEntry *he = HashTable_CreateEntry(&allTargetsByName, name, &isNew); if (!isNew) return HashEntry_Get(he); @@ -347,7 +347,7 @@ Targ_FindList(GNodeList *gns, StringList *names) } /* See if the given target is precious. */ -Boolean +bool Targ_Precious(const GNode *gn) { /* XXX: Why are '::' targets precious? */ @@ -410,7 +410,7 @@ Targ_FmtTime(time_t tm) static char buf[128]; struct tm *parts = localtime(&tm); - (void)strftime(buf, sizeof buf, "%k:%M:%S %b %d, %Y", parts); + (void)strftime(buf, sizeof buf, "%H:%M:%S %b %d, %Y", parts); return buf; } |