Guang Zhu
90619816d9
use BufferedInputStream in readTextFile
...
With FileInputStream, using assumption of bytes read (as
returned by read function) not matching buffer size as EOF is
not correct, we hit this when reading from /proc in some cases.
BufferedInputStream's behavior matches that assumption due to
its implementation.
Bug: 7342759
Change-Id: Ibb06dbe1fbe33f6f880524f7555ff5542889ea50
2012-10-12 15:50:44 -07:00
..
2012-09-25 17:34:48 -07:00
2012-05-21 10:43:26 -07:00
2012-10-02 19:11:19 -07:00
2012-08-20 10:04:12 -07:00
2012-09-07 18:33:18 -07:00
2012-09-30 11:24:23 -07:00
2012-03-23 15:45:37 -07:00
2012-05-07 20:06:46 -07:00
2012-02-16 13:45:10 -08:00
2012-02-16 13:45:10 -08:00
2012-02-16 13:45:10 -08:00
2012-04-26 11:17:18 +08:00
2011-10-20 15:32:37 -07:00
2012-09-11 23:11:14 -07:00
2012-09-25 17:34:48 -07:00
2012-08-20 14:56:57 -07:00
2012-10-12 15:50:44 -07:00
2012-08-31 15:42:46 -07:00
2012-04-26 11:17:18 +08:00
2012-05-09 14:53:20 -07:00
2012-05-07 20:06:46 -07:00
2012-08-24 11:44:40 -07:00
2012-10-03 18:07:23 -07:00
2012-04-24 09:53:14 -07:00
2012-02-09 18:06:01 -08:00
2012-02-29 14:05:24 -08:00
2012-09-20 22:33:43 -07:00
2012-05-21 13:29:06 -07:00
2012-05-06 16:10:34 -07:00
2012-04-23 20:29:31 -07:00
2012-04-13 17:01:15 -07:00
2012-05-07 20:06:46 -07:00
2012-03-09 22:48:43 +09:00
2012-03-02 12:31:27 -08:00
2012-03-09 22:48:43 +09:00
2012-10-04 16:22:04 -07:00
2012-09-11 15:01:26 -07:00
2012-08-30 14:33:22 -07:00
2012-09-06 18:56:17 -07:00
2011-11-08 20:42:11 -08:00
2012-07-09 09:13:57 -07:00
2012-07-25 11:07:39 -04:00
2012-02-09 18:06:01 -08:00
2012-05-09 14:53:20 -07:00
2012-08-16 10:55:47 -07:00
2012-07-13 09:26:03 +08:00
2012-09-26 11:29:25 -07:00
2012-05-09 14:53:20 -07:00
2012-08-23 16:41:06 -07:00
2012-04-13 04:05:17 -07:00
2012-02-29 14:05:24 -08:00
2012-05-31 18:12:18 -07:00
2011-11-08 20:42:11 -08:00
2012-10-10 21:46:55 -07:00
2012-02-29 14:05:24 -08:00
2012-09-26 10:49:35 -07:00
2012-09-14 23:00:27 -07:00
2012-10-12 12:44:49 -07:00
2012-06-18 17:22:34 -07:00
2012-08-15 03:06:24 -07:00