ez8-co / emock

🐞 下一代C/C++跨平台mock库 (Next generation cross-platform mock library for C/C++)
Apache License 2.0
118 stars 35 forks source link

emock/src/Trampoline.cpp line 135 logical error "unsigned long begin, end, last_end = 0;" #7

Closed kiddy818 closed 2 years ago

kiddy818 commented 4 years ago

emock/src/Trampoline.cpp : line 135 "last_end = 0;" line 153 "last_end = end;" when do line 130 while, the line 153's effect will be covered by line 135. so line 135 should before line 130.

like this: unsigned long begin, end, last_end = 0; while(!feof(fp)) { ...

orca-zhang commented 4 years ago

I'll fix it, thanks a lot for your very important cue.

orca-zhang commented 2 years ago

d59b06f has fix it Thanks.