commit | 466d3f44308739b916ec46f91a5d3f5d8bf509a0 | [log] [tgz] |
---|---|---|
author | eric.yan <severecold@gmail.com> | Tue Feb 03 22:16:29 2015 +0800 |
committer | apachegroup . <severecold@gmail.com> | Mon Feb 09 13:41:27 2015 +0000 |
tree | 65f6c9fc853b71bc3e86c77141a787f75204b5d9 | |
parent | 91143328dcd8db10e3193b84bd83db1933ececa2 [diff] |
fix bug that passing invalid fd to fstats on win32 builds lfd returned by adb_open is not the actual file desc. on win32 builds. calling through fstat with invalid fd will lead to crash, using stat instead. Change-Id: I7fdc8b825162eaa42efe8755265842c300b00e39 Signed-off-by: eric.yan <eric.yan@yulong.com> Signed-off-by: severecold <severecold@gmail.com>