diff options
author | Ron Yorston <rmy@pobox.com> | 2022-10-21 13:35:55 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-10-21 13:35:55 +0100 |
commit | acae4cd5bedf12c476470a1c836e4117eb983875 (patch) | |
tree | c31ec0ccb80b7e092e055ef9784ca544af9ed38a | |
parent | cafbc0d09cac98323b41ed546ce7315b9ba4b6a0 (diff) | |
download | busybox-w32-acae4cd5bedf12c476470a1c836e4117eb983875.tar.gz busybox-w32-acae4cd5bedf12c476470a1c836e4117eb983875.tar.bz2 busybox-w32-acae4cd5bedf12c476470a1c836e4117eb983875.zip |
make: add a comment, no functional change
-rw-r--r-- | miscutils/make.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/miscutils/make.c b/miscutils/make.c index 49d10f5f5..df46256bb 100644 --- a/miscutils/make.c +++ b/miscutils/make.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //config: default n | 17 | //config: default n |
18 | //config: depends on MAKE | 18 | //config: depends on MAKE |
19 | //config: help | 19 | //config: help |
20 | //config: Allow strict enforcement of POSIX mode at runtime by: | 20 | //config: Allow strict enforcement of POSIX 2017 at runtime by: |
21 | //config: - .POSIX special target in makefile | 21 | //config: - .POSIX special target in makefile |
22 | //config: - '--posix' command line option | 22 | //config: - '--posix' command line option |
23 | //config: - PDPMAKE_POSIXLY_CORRECT environment variable | 23 | //config: - PDPMAKE_POSIXLY_CORRECT environment variable |
@@ -1583,8 +1583,13 @@ input(FILE *fd, int ilevel) | |||
1583 | if (posix) | 1583 | if (posix) |
1584 | break; | 1584 | break; |
1585 | } | 1585 | } |
1586 | if (posix && (p == NULL || gettok(&q))) | 1586 | if (posix) { |
1587 | error("one include file per line"); | 1587 | // In POSIX 2017 zero or more than one include file is |
1588 | // unspecified behaviour. | ||
1589 | if (p == NULL || gettok(&q)) { | ||
1590 | error("one include file per line"); | ||
1591 | } | ||
1592 | } | ||
1588 | 1593 | ||
1589 | makefile = old_makefile; | 1594 | makefile = old_makefile; |
1590 | lineno = old_lineno; | 1595 | lineno = old_lineno; |