diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-07-09 23:05:11 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-07-09 23:15:16 +0200 |
commit | ef22868f3668fe833cdf297e619afe5b721f7716 (patch) | |
tree | c560faaa3a6d6377678b1408ae5ca0df2b3c47e0 /sh/gendepends.sh.in | |
parent | 0c7032840b746bc5f1e5f6cb90ad50b5da0a4fce (diff) |
Do not skip similar config options
OpenRC goes through the config and checks each option for duplicates.
Lets say we're on "rc_logger" currently and its the last option in the config
file and we previously defined rc_logger_path.
It now goes through all previous config options and compares those against the
current one "rc_logger" *but* it compares only the first N bytes, in this
case strlen("rc_logger"). So it strips the _path from "rc_logger_path" which
ends up into "rc_logger" and it compares that against the current one (also
"rc_logger"), it would then simply override the previous definition.
This patch fixes this behaviour to always compare the full option / variable
names.
Diffstat (limited to 'sh/gendepends.sh.in')
0 files changed, 0 insertions, 0 deletions