Repository navigation
LATX, fix: Fix struct target_stat64 - #48
Merged
Merged
Conversation
之前对 fstat 的 st_dev 按照 32 位的系统调用进行了截断,是为了解决 deepin-wine6 运行失败的问题。该 wine 使用 64 位的 server 和 32 位的 client,两端通信依赖使用 st_dev 建立的目录,如"/tmp/.wine-1000/server-305-166a42"。server 使用的 st_dev 为 10305 client 使用的为 305,无法建立通信,因此在 fstat 的模拟中将 10305 截断。 上述方法并未从根本上解决问题,其根因为翻译器中 target_stat64 结构中 st_dev 定义 不恰当,本补丁进行了修复。 CLOSE: 27 Signed-off-by: Hanlu Li <[email protected]>
Contributor
|
close: #27 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
之前对 fstat 的 st_dev 按照 32 位的系统调用进行了截断,是为了解决 deepin-wine6 运行失败的问题。该 wine 使用 64 位的 server 和 32 位的 client,两端通信依赖使用 st_dev 建立的目录,如"/tmp/.wine-1000/server-305-166a42"。server 使用的 st_dev 为 10305 client 使用的为 305,无法建立通信,因此在 fstat 的模拟中将 10305 截断。
上述方法并未从根本上解决问题,其根因为翻译器中 target_stat64 结构中 st_dev 定义 不恰当,本补丁进行了修复。
CLOSE: 27