-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Linux filesystem #1433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Linux filesystem #1433
Conversation
6d0338b
to
10ea3fa
Compare
This looks good; in future it may be worth defining the expected path seperator used by the xbox somewhere useful The tests you've added could perhaps be expanded to test resolving canonicalized paths correctly |
0fdbcde
to
85ad6d7
Compare
e4822b1
to
358a2dd
Compare
seems need rebase greetings |
358a2dd
to
0c57001
Compare
Removed the use of templates to unify wstrings and strings as was mentioned by one of the maintainers in an earlier PR. |
e6fb0e5
to
03145ba
Compare
34098b0
to
bfa387d
Compare
bfa387d
to
89adec9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is some things duplicated from other PRs so I didn't comment on those, assuming they will be discussed/fixed and merged first.
f76b800
to
0d31ef7
Compare
0d31ef7
to
48fb203
Compare
48fb203
to
992d127
Compare
va_list are not guarenteed to maintain their values after being used. With clang on Linux, args is undefined after fetching length and will print "(null)". Copy args into another va_list before getting length to prevent this. Add tests.
Print build version and date in the same way as the windows main
Skip recursive "." and ".." paths. Join paths instead of concatenating them. Assert stat return code.
Remove unused platform_linux reference. Replace C-style header uses. Replace C-style NULL with nullptr. Replace stdlib assert with xenia assert. Fix spelling
Fill in name, path and total_size. Correct convertUnixtimeToWinFiletime which was using deprecated stat function without nanoseconds. It now includes nanoseconds. Add unit test for file and folder info.
992d127
to
31744ae
Compare
@bwrsandman You can remove the last clock commit from this PR, it's in master now |
31744ae
to
75849c8
Compare
Done! :) |
Needs another rebase after 6ce5330 |
These are filesystem and string changes to the emulator to work better on Linux. The changes help getting Xenia up and running but they need to be combined with the other Linux PRs to see the full working benefit. See #1430.
Changes
Previous state
xenia.log
and was unable to open a file there.State after fix coupled with other Linux fixes