diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-07-08 18:32:15 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-07-08 18:32:15 +0000 |
commit | 1a2b743f6b4022dada4eeaa96ac47a5c1a2429f5 (patch) | |
tree | d24792918468eb00f02c40f6f05a4de720d20fef /lst.lib/lstDupl.c | |
parent | 6e0296234fdf9b27f5b0d9f884223b7c2b5b3d03 (diff) |
Import bmake-20200704vendor/NetBSD/bmake/20200704
from ChangeLog:
(most of this by rillig@)
o lots of style and white-space cleanup
o lots more unit tests for variable modifiers
o simplified description of some functions
o str.c: refactor Str_Match
o var.c: debugging output for :@
constify VarModify parameter
fix :hash modifier on 16-bit platforms
remove unnecessary forward declarations
refactor ApplyModifier_SysV to have less indentation
simplify code for :E and :R
clean up code for :H and :T
refactor ApplyModifiers
* var.c: we need stdint.h on some platforms to get uint32_t
* unit-test/Makefile: we need to supress the specific error
for RE substitution error in modmisc, since it varies accross
different OS.
Notes
Notes:
svn path=/vendor/NetBSD/bmake/dist/; revision=363018
svn path=/vendor/NetBSD/bmake/20200704/; revision=363019; tag=vendor/NetBSD/bmake/20200704
Diffstat (limited to 'lst.lib/lstDupl.c')
-rw-r--r-- | lst.lib/lstDupl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lst.lib/lstDupl.c b/lst.lib/lstDupl.c index 2174ff782282..6318ee4e462a 100644 --- a/lst.lib/lstDupl.c +++ b/lst.lib/lstDupl.c @@ -1,4 +1,4 @@ -/* $NetBSD: lstDupl.c,v 1.16 2009/01/23 21:26:30 dsl Exp $ */ +/* $NetBSD: lstDupl.c,v 1.17 2020/07/03 08:37:56 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -33,14 +33,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: lstDupl.c,v 1.16 2009/01/23 21:26:30 dsl Exp $"; +static char rcsid[] = "$NetBSD: lstDupl.c,v 1.17 2020/07/03 08:37:56 rillig Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)lstDupl.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: lstDupl.c,v 1.16 2009/01/23 21:26:30 dsl Exp $"); +__RCSID("$NetBSD: lstDupl.c,v 1.17 2020/07/03 08:37:56 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -103,5 +103,5 @@ Lst_Duplicate(Lst l, DuplicateProc *copyProc) } } - return (nl); + return nl; } |