diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 13:08:20 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-14 13:08:20 +1000 |
commit | 6a6efd31038d7afe977e3059508ae863e65cbdf5 (patch) | |
tree | 5cd69a751e893b83176751c80fcea7a7afeed1ae /procps/sysctl.c | |
parent | a6a2325ecf402054132daae169f71edb0fb849e3 (diff) | |
parent | 29082231d0cb1a5b327de5d515b16f332d4dbdaf (diff) | |
download | busybox-w32-6a6efd31038d7afe977e3059508ae863e65cbdf5.tar.gz busybox-w32-6a6efd31038d7afe977e3059508ae863e65cbdf5.tar.bz2 busybox-w32-6a6efd31038d7afe977e3059508ae863e65cbdf5.zip |
Merge branch 'origin/master' (early part)
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r-- | procps/sysctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c index 7a5bf1435..fc601d637 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c | |||
@@ -212,6 +212,7 @@ static int sysctl_handle_preload_file(const char *filename) | |||
212 | //TODO: comment may be only at line start. "var=1 #abc" - "1 #abc" is the value | 212 | //TODO: comment may be only at line start. "var=1 #abc" - "1 #abc" is the value |
213 | // (but _whitespace_ from ends should be trimmed first (and we do it right)) | 213 | // (but _whitespace_ from ends should be trimmed first (and we do it right)) |
214 | //TODO: "var==1" is mishandled (must use "=1" as a value, but uses "1") | 214 | //TODO: "var==1" is mishandled (must use "=1" as a value, but uses "1") |
215 | // can it be fixed by removing PARSE_COLLAPSE bit? | ||
215 | while (config_read(parser, token, 2, 2, "# \t=", PARSE_NORMAL)) { | 216 | while (config_read(parser, token, 2, 2, "# \t=", PARSE_NORMAL)) { |
216 | char *tp; | 217 | char *tp; |
217 | sysctl_dots_to_slashes(token[0]); | 218 | sysctl_dots_to_slashes(token[0]); |