commit | cc065fb95e2224fe6f49011350f3399cbf27fe79 | [log] [tgz] |
---|---|---|
author | Misha Wagner <mishaw@google.com> | Mon Oct 15 10:45:44 2018 +0100 |
committer | Misha Wagner <mishaw@google.com> | Thu Oct 25 10:51:40 2018 +0100 |
tree | 8b844c5b4755551f429d247dbd316e8b1579797c | |
parent | 1332beacbef762ac6d2cf6c2739f7eae593f6599 [diff] |
Modify Process::readProcFile to read in variable size file The original Process::readProcFile could only read files smaller than 256 bytes. This change allows the function to read in larger files. For files smaller than 256 bytes, the added cost is only an extra read call, which returns zero. Documentation has also been added to Process::readProcFile. Test: Used in change 5168194 Change-Id: I82f27355276e08f96bdb5fe7da49514a87afb429