commit | 2eb56f552e73dfc6daa85c2191434a69176ab870 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 17 14:55:14 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 17 17:17:36 2016 +0800 |
tree | 795670753019e1ba53933fb66ee42e1ef28eb60c | |
parent | b8f2845b6da5516792647b6ba13ae3ccdd24e7c1 [diff] |
config: Avoid fstat in configuration read Instead of using fstat(), just read until we've reached EOF. This allows us to read input from a non-standard file. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>