Searched hist:"3 ede04c78c7c726ed79a39d22c65a58d0ecc5d00" (Results 1 – 1 of 1) sorted by relevance
/freebsd/sbin/ldconfig/ |
H A D | ldconfig.c | diff 3ede04c78c7c726ed79a39d22c65a58d0ecc5d00 Fri Nov 19 05:07:58 CET 2021 Konstantin Belousov <kib@FreeBSD.org> ldconfig(8): check for no-args command line after options are parsed
Default action for ldconfig is specified as -R AKA 'append', and for no-args (without options changing default actions), ldconfig should append empty list of directories to current list. But because the check was done before options were parsed out, presence of any option turned off default rescan.
As result, innocently-looked commands like `ldconfig -v' were interpreted as setting directory hints list to one specified on the command line, i.e. empty.
Reported by: https://github.com/mesonbuild/meson/issues/9592 Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
|