1. 10 Feb, 2021 4 commits
    • Marius Gerbershagen's avatar
      7ddb4ada
    • Marius Gerbershagen's avatar
      tests: fix mix.0016.fifo-tests · f0afa57b
      Marius Gerbershagen authored
      Use new :nonblock open flag, only test standard POSIX
      behaviour (POSIX leaves it undefined what happens when
      opening a fifo for writing in nonblocking mode while
      there are no readers available. Previously we were
      testing for behaviour as implemented by Linux).
      
      Windows has no equivalent of a named pipe that can be
      opened like a regular file, thus we disable the test
      there.
      f0afa57b
    • Marius Gerbershagen's avatar
      file.d: introduce :nonblock and :close-on-exec options for open · da26facf
      Marius Gerbershagen authored
      Maps directly to flags for open syscall. Ignored on Windows. We now
      let the user decide whether to open fifos in nonblocking mode or not.
      Manual has been extended to document the new extensions and slightly
      rearranged to put the important information first.
      da26facf
    • Marius Gerbershagen's avatar
      file.d: clean up ecl_stream_open · 3827daf4
      Marius Gerbershagen authored
      Previous implementation was messy and contained several race
      conditions (multiple open/close operations on the same file, first
      checking whether the file exists before opening it). We now always use
      a single open call and then optionally do an fdopen later
      on (exception being :rename which contains an unavoidable race
      condition between checking whether the file exists and then renaming
      it later on). Also improve error messages.
      3827daf4
  2. 06 Feb, 2021 2 commits
  3. 01 Feb, 2021 2 commits
  4. 30 Jan, 2021 3 commits
  5. 29 Jan, 2021 1 commit
  6. 26 Jan, 2021 1 commit
  7. 24 Jan, 2021 2 commits
  8. 16 Jan, 2021 3 commits
  9. 09 Jan, 2021 1 commit
  10. 02 Jan, 2021 1 commit
  11. 30 Dec, 2020 1 commit
  12. 29 Dec, 2020 3 commits
  13. 27 Dec, 2020 12 commits
  14. 23 Dec, 2020 4 commits