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

Allow handling of long windows filenames #2

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

efd6
Copy link

@efd6 efd6 commented Oct 12, 2021

What does this pull request do?

Replaces unsafe Windows filename recovery with safer extraction using unsafe.Slice.

Where should the reviewer start?

Single line change.

How should this be manually tested?

Recommend testing using the strategy at fsnotify#318

This requires a windows environment.

Updates elastic/beats#25334

/cc @adriansr @andrewkroh

Copy link
Owner

@adriansr adriansr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@efd6
Copy link
Author

efd6 commented Oct 18, 2021

Can you merge? I don't have write access here.

@adriansr adriansr merged commit a81f2b6 into adriansr:master Oct 18, 2021
@efd6 efd6 deleted the longnames branch October 18, 2021 19:46
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