解决rtt v5.0.1以上版本报错,dfs_file结构体名字替换以及wiz_socket_ops结构体新增成员导致对不齐的问题 #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我在v5.2.0环境下测试通过。
1、rtt v5.0.1以上版本dfs_fd结构体竟然把名字改了没有任何适配;
2、同样改版本sal_socket_ops结构体中间插入了新成员,这种初始化的方式导致结构成员对不齐,导致编译通过但是取到的数据是错误的,一直timeout.
这是rtt v5.2.0环境下运行: