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

Implement unlinkat #1058

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Implement unlinkat #1058

merged 1 commit into from
Jul 16, 2019

Commits on Jul 14, 2019

  1. Implement unlinkat

    This adds the unlinkat function, which is part of POSIX:
    http://pubs.opengroup.org/onlinepubs/9699919799/functions/unlinkat.html
    and widely implmented on Unix-family platforms.
    
    Implement unlinkat - Update comments to unlink at and breakup tests
    
    Changes made based on comments from pull request nix-rust#1058
    
    Implement unlinkat - Update should_panic for more precise check
    
    Updae should_panic attribute for more precise check. Also remove
    some dead code and note the pull request ID.
    
    Implement unlinkat - Update error handling to use unwrap_err
    
    The previous patch failed testing on two targets that returned EPERM
    as the Sys error instead of EISDIR. This patch changes from using the
    should_panic attribute to using the unwrap_err and matching against
    the result.
    
    Implement Unlinkat - Passing tests should not print anything. Fix.
    
    Implement unlinkat - Update location of commit comment in the CHANGELOG
    
    Implement unlinkat - Remove newline
    jlb6740 committed Jul 14, 2019
    Configuration menu
    Copy the full SHA
    273fb63 View commit details
    Browse the repository at this point in the history