Skip to content
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

Wasi icu loading #82444

Merged
merged 7 commits into from
Feb 23, 2023
Merged

Wasi icu loading #82444

merged 7 commits into from
Feb 23, 2023

Conversation

mkhamoyan
Copy link
Contributor

@mkhamoyan mkhamoyan commented Feb 21, 2023

Fixes #81908

Copy link
Member

@pavelsavara pavelsavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add src\libraries\System.Globalization\tests\System.Globalization.Tests.csproj to src\libraries\tests.proj wasi SmokeTestProject section.

src/mono/wasi/runtime/CMakeLists.txt Show resolved Hide resolved
unsigned char *buffer;
long filelen;
char filename[256];
sprintf(filename, "%s/%s", ".", "icudt.dat");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is constant string, you don't have to concatenate it here.

@mkhamoyan mkhamoyan changed the title Wasi icu load test Wasi icu loading Feb 23, 2023
@mkhamoyan mkhamoyan marked this pull request as ready for review February 23, 2023 13:34
char filename[256];
sprintf(filename, "./icudt.dat");

fileptr = fopen(filename, "rb");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fopen("./icudt.dat", "rb");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filename is also used in lines 342 and 352.

@mkhamoyan
Copy link
Contributor Author

Failures are not related.

@mkhamoyan mkhamoyan merged commit fed0691 into dotnet:main Feb 23, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants