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

Fix FIFO handling on Solaris #70

Merged
merged 3 commits into from
Nov 20, 2022
Merged

Fix FIFO handling on Solaris #70

merged 3 commits into from
Nov 20, 2022

Commits on Nov 6, 2022

  1. Fix FIFO handling on Solaris

    On Solaris, files need to be opened to obtain or change their
    attributes. But opening a FIFO file causes the calling thread to block
    until the write end is opened. Files are now opened using O_NONBLOCK to
    prevent this from happening.
    
    Should fix restic/restic#4003.
    
    Also fix comment on stringsFromByteSlice.
    greatroar committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    93ee36a View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. (Solaris) Open O_NONBLOCK with unix.Open, not os.Open

    Passing this flag to os.Open works, but this relies on undocumented
    implementation details of package os.
    greatroar committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    fc35f5d View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    a146e14 View commit details
    Browse the repository at this point in the history