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

Mac updates #384

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Mac updates #384

wants to merge 15 commits into from

Commits on Apr 5, 2017

  1. Get macOS working again.

    ahknight committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    d9ae6df View commit details
    Browse the repository at this point in the history
  2. Get xattrs working on macOS.

    As the position argument isn’t carried all the way down resource forks won’t work properly (though it easily could be, that would change the internal API for everyone).
    ahknight committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    1aea1d4 View commit details
    Browse the repository at this point in the history
  3. Fix issue with AT_FDCWD

    OSX doesn’t like AT_FDCWD in it’s fcntl, but getcwd does the job.
    Also fixed an issue with absolute paths in the process.
    ahknight committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    39b7772 View commit details
    Browse the repository at this point in the history
  4. Updating return/variable types

    After running Clang’s analyzer on it there were quite a few places where there were mis-matched store sizes and signs.  I updated them so that the underlying code more closely-matches the OS APIs and the type change happens at the FUSE connection.
    
    In this way, if FUSE ever updates the API to actually match the APIs of modern OSes, it’s a fix in one place.
    
    Also, I updated read/write to return the total read/write value the OS returned rather than blindly return the request count.
    ahknight committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    d1aec14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6cfd4d5 View commit details
    Browse the repository at this point in the history
  6. Adding position arg to xattr APIs

    Finder copies are broken without this argument, even if it’s fixed to 0. Upside: it reduces the number of times we platform-check in the xattr code.
    ahknight committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    59ece5f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2017

  1. Configuration menu
    Copy the full SHA
    3b0d371 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bca8404 View commit details
    Browse the repository at this point in the history
  3. restructure osx fallocate

    trapexit committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    b0fb518 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a00dc9b View commit details
    Browse the repository at this point in the history
  5. tweak types

    trapexit committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    6a67a92 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b2fa95 View commit details
    Browse the repository at this point in the history
  7. Removed stray xattr flag

    Clients should get the xattrs they actually asked for, after all.
    ahknight committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    25fe57f View commit details
    Browse the repository at this point in the history
  8. handle 32bit inode sizes

    trapexit committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    d0fa9ef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cf567f1 View commit details
    Browse the repository at this point in the history