commit | 3ef077835b6f7af06814343aab0b84f41997ad3f | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Dec 10 11:30:14 2015 +0000 |
committer | Narayan Kamath <narayan@google.com> | Fri Dec 11 16:00:44 2015 +0000 |
tree | ccb043e8293f4027624b1c6c2faaa15764d86245 | |
parent | f8382ed614d5e2bc3056db92d57459ca0564c7cc [diff] |
Fix FileInputStream.available() for non-regular files. Use FIONREAD for all files, and return 0 (the conservative estimate) for files for which this ioctl is not implemented. bug: 26117827 Change-Id: I27d203f354045dd17e24fc6a55732fd41a1ab712