Skip to content
Snippets Groups Projects
  1. Jul 28, 2021
  2. Jul 27, 2021
  3. Jul 26, 2021
  4. Jul 25, 2021
  5. Jul 24, 2021
    • Alyssa Ross's avatar
      libutil: use uniform initialization in _deletePath · 369ed718
      Alyssa Ross authored
      Otherwise I get a compiler error when building for NetBSD:
      
      src/libutil/util.cc: In function 'void nix::_deletePath(const Path&, uint64_t&)':
      src/libutil/util.cc:438:17: error: base operand of '->' is not a pointer
        438 |     AutoCloseFD dirfd(open(dir.c_str(), O_RDONLY));
            |                 ^~~~~
      src/libutil/util.cc:439:10: error: 'dirfd' was not declared in this scope
        439 |     if (!dirfd) {
            |          ^~~~~
      src/libutil/util.cc:444:17: error: 'dirfd' was not declared in this scope
        444 |     _deletePath(dirfd.get(), path, bytesFreed);
            |                 ^~~~~
      Unverified
      369ed718
    • Alyssa Ross's avatar
      Enable pthreads for new libraries · ae0c026f
      Alyssa Ross authored
      Otherwise the lack of pthread causes linking to fail for NetBSD.
      Unverified
      ae0c026f
  6. Jul 23, 2021
  7. Jul 22, 2021
  8. Jul 21, 2021
  9. Jul 20, 2021
Loading