Skip to content

fix: file-related error messages on Windows#341

Merged
feihongxu0824 merged 1 commit intoalibaba:mainfrom
JalinWang:fix/file_op_error_msg_on_windows
Apr 16, 2026
Merged

fix: file-related error messages on Windows#341
feihongxu0824 merged 1 commit intoalibaba:mainfrom
JalinWang:fix/file_op_error_msg_on_windows

Conversation

@JalinWang
Copy link
Copy Markdown
Collaborator

@JalinWang JalinWang commented Apr 15, 2026

When a file-related error occurs on Linux, we use strerror(errno) to get the error message, but this does not work on Windows. This change makes the behavior platform-adaptive.
Follow-up to #333.

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@JalinWang JalinWang force-pushed the fix/file_op_error_msg_on_windows branch from 315acf7 to b738cd9 Compare April 15, 2026 16:01
@JalinWang JalinWang changed the title fix: file op error msg on windows fix: file-related error messages on Windows Apr 16, 2026
@feihongxu0824 feihongxu0824 merged commit 1492175 into alibaba:main Apr 16, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants