summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-21 07:17:23 +0200
committerDenys Vlasenko2010-06-21 07:17:23 +0200
commitadbbee46ad0661bf695d2bfe7a07ebced4bbe780 (patch)
tree657c70f934a0cb2a882e07d997a063172a0ceae5 /procps
parent05a550b48abe8490264cacf14b68534c2f8ac3ed (diff)
downloadbusybox-adbbee46ad0661bf695d2bfe7a07ebced4bbe780.zip
busybox-adbbee46ad0661bf695d2bfe7a07ebced4bbe780.tar.gz
bootchartd: added optional compat features
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c
index 7a5bf14..fc601d6 100644
--- a/procps/sysctl.c
+++ b/procps/sysctl.c
@@ -212,6 +212,7 @@ static int sysctl_handle_preload_file(const char *filename)
//TODO: comment may be only at line start. "var=1 #abc" - "1 #abc" is the value
// (but _whitespace_ from ends should be trimmed first (and we do it right))
//TODO: "var==1" is mishandled (must use "=1" as a value, but uses "1")
+// can it be fixed by removing PARSE_COLLAPSE bit?
while (config_read(parser, token, 2, 2, "# \t=", PARSE_NORMAL)) {
char *tp;
sysctl_dots_to_slashes(token[0]);