aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-09-14 08:59:46 +0100
committerRon Yorston <rmy@pobox.com>2024-09-14 08:59:46 +0100
commitb21546ddbea20447054e60c893b64849f54be7d9 (patch)
tree2d9127babcef813acb1c7ca60eeb7a8ba9cf3a49 /init
parent0b87e69888e52ce5ca797560124564efc794414c (diff)
downloadbusybox-w32-b21546ddbea20447054e60c893b64849f54be7d9.tar.gz
busybox-w32-b21546ddbea20447054e60c893b64849f54be7d9.tar.bz2
busybox-w32-b21546ddbea20447054e60c893b64849f54be7d9.zip
make: fix test for include with no pathnames
In POSIX 2024 the behaviour of an include line with no pathnames is unspecified. The test for this condition was incorrect in certain circumstances. Files containing dependencies may be generated by the compiler and included in the makefile. On an initial build no dependency files will be present and the include line is made to ignore errors. In this case the test for no pathnames returned true, even though many pathnames may have been present. Fix the problem by always setting 'makefile' even if the named file can't be opened.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions