Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a859219f authored by eric.yan's avatar eric.yan Committed by apachegroup .
Browse files

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: default avatareric.yan <eric.yan@yulong.com>
Signed-off-by: default avatarseverecold <severecold@gmail.com>
parent 5ac8b917
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment