Skip to content
Snippets Groups Projects
  1. Jan 21, 2018
  2. Jan 20, 2018
  3. Jan 19, 2018
  4. Jan 08, 2018
  5. Jan 07, 2018
    • Max Rees's avatar
      fflush in src/list.c to make tested behavior consistent · 4169eae1
      Max Rees authored
      On glibc, if output is redirected to a file, output will look like this:
      
      touch test/ok/gif
      touch test/ok/jpg
      touch test/ok/png
      touch test/ok/pnm
      test/ok/gif
      test/ok/jpg
      test/ok/png
      test/ok/pnm
      
      On musl, if stdout is redirected to a file, output looks like this:
      
      test/ok/gif
      touch test/ok/gif
      touch test/ok/jpg
      touch test/ok/png
      touch test/ok/pnm
      test/ok/jpg
      test/ok/png
      test/ok/pnm
      
      On glibc and musl, if stdout is interactive, it looks like this:
      
      test/ok/gif
      touch test/ok/gif
      test/ok/jpg
      touch test/ok/jpg
      test/ok/png
      touch test/ok/png
      test/ok/pnm
      touch test/ok/pnm
      
      Adding two fflush calls makes all behavior look like the last example.
      Test cases have been updated accordingly.
      4169eae1
  6. Dec 28, 2017
  7. Dec 27, 2017
  8. Dec 09, 2017
  9. Dec 07, 2017
  10. Dec 04, 2017
  11. Nov 07, 2017
  12. Nov 04, 2017
  13. Nov 01, 2017
  14. Oct 31, 2017
  15. Oct 29, 2017
  16. Oct 16, 2017
  17. Oct 07, 2017
  18. Oct 03, 2017
  19. Oct 02, 2017
  20. Sep 26, 2017
Loading