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

Check for EINTR with != on Linux #56

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Conversation

greatroar
Copy link
Contributor

This was already suggested in #52 and #53 with the aim of restoring Go 1.11 compatibility. That may not work, but omitting errors.Is does allow Go 1.16 to inline ignoringEINTR at every call site.

This way, ignoringEINTR becomes small enough for Go 1.16 to inline it.
@kuba-- kuba-- merged commit 8725d4c into pkg:master Apr 6, 2021
@greatroar greatroar deleted the eintr-loop branch April 6, 2021 19:14
rfjakob added a commit to rfjakob/gocryptfs that referenced this pull request Aug 18, 2021
Using

  go get -u
  go get -u github.com/pkg/xattr@master # Because pkg/xattr#56
  go mod tidy
rfjakob added a commit to rfjakob/gocryptfs that referenced this pull request Aug 18, 2021
Using

  go get -u
  go get -u github.com/pkg/xattr@master # Because pkg/xattr#56
  go mod tidy
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