diff options
| author | rillig <rillig@NetBSD.org> | 2020-12-22 08:31:13 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2020-12-22 08:31:13 +0000 |
| commit | b953b99befc2c491bc1eafd6c873c5d5da6acce7 (patch) | |
| tree | 0fd55f3496415ca6255ab5507bbc68bf0d396fa0 /usr.bin/make/parse.c | |
| parent | 031188f9e47499f751087b7e30d95d26e363b27d (diff) | |
make(1): remove assertion about lines ending with '\n'
It fails the NetBSD build.sh.
Diffstat (limited to 'usr.bin/make/parse.c')
| -rw-r--r-- | usr.bin/make/parse.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 342ada636f1..68faa77ec3b 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.512 2020/12/22 08:10:39 rillig Exp $ */ +/* $NetBSD: parse.c,v 1.513 2020/12/22 08:31:13 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -117,7 +117,7 @@ #include "pathnames.h" /* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */ -MAKE_RCSID("$NetBSD: parse.c,v 1.512 2020/12/22 08:10:39 rillig Exp $"); +MAKE_RCSID("$NetBSD: parse.c,v 1.513 2020/12/22 08:31:13 rillig Exp $"); /* types and constants */ @@ -2841,7 +2841,6 @@ ParseGetLine(GetLineMode mode) /* We now have a line of data */ /* TODO: Remove line_end, it's not necessary here. */ - assert(*line_end == '\n'); *line_end = '\0'; if (mode == GLM_FOR_BODY) |
