1. 09 Oct, 2018 2 commits
  2. 07 Oct, 2018 9 commits
    • Benedikt Rascher-Friesenhausen's avatar
      Replace `i32` with `c_int` in `memcmp` · 8e2b7c11
      Benedikt Rascher-Friesenhausen authored
      As per the comments from jD91mZM2 on the merge request.
    • jD91mZM2's avatar
    • jD91mZM2's avatar
      Merge branch 'assert' into 'master' · fba3bf51
      jD91mZM2 authored
      Make assert more hygienic
      See merge request !166
    • jD91mZM2's avatar
      Implement scandir · 758f6815
      jD91mZM2 authored
    • jD91mZM2's avatar
      Cleanup strcasecmp · 3c8cb95b
      jD91mZM2 authored
    • jD91mZM2's avatar
      Fix S_IS* · 0de7d306
      jD91mZM2 authored
      For some reason, C handles `==` before `&`.
      So `a & b == c` is the same thing as `a & (b == c)`.
    • jD91mZM2's avatar
      Fix double close · 028378b8
      jD91mZM2 authored
      Accidentally made file references not count as references and therefore also close the fd. My bad.
    • jD91mZM2's avatar
      Implement realpath · 418a960f
      jD91mZM2 authored
    • Benedikt Rascher-Friesenhausen's avatar
      Optimise `memcmp` for speed · e10a3463
      Benedikt Rascher-Friesenhausen authored
      I saw that in other parts of the `string` module iterations over `usize` were
      used to increase iteration speed.  In this patch I apply the same logic to
      `memcmp`.  With this change I measured a 7x speedup for `memcmp` on a ~1MB
      buffer (comparing two buffers with the same content) on my machine (i7-7500U),
      but I did not do any real world benchmarking for the change.  The increase in
      speed comes with the tradeoff of both increased complexity and larger generated
      assembly code for the function.
      I tested the correctness of the implementation by generating two randomly filled
      buffers and comparing the `memcmp` result of the old implementation against this
      new one.
      I ran the tests and currently currently three of them fail:
        - netdb (fails to run)
        - stdio/rename (fails to verify)
        - unistd/pipe (fails to verify)
      They do so though regardless of this change, so I don't think they are related.
  3. 06 Oct, 2018 3 commits
  4. 05 Oct, 2018 2 commits
  5. 02 Oct, 2018 2 commits
  6. 29 Sep, 2018 4 commits
  7. 26 Sep, 2018 6 commits
  8. 25 Sep, 2018 4 commits
  9. 24 Sep, 2018 1 commit
  10. 23 Sep, 2018 4 commits
  11. 22 Sep, 2018 2 commits
  12. 21 Sep, 2018 1 commit