Skip to content
Snippets Groups Projects
  1. Apr 11, 2020
  2. May 11, 2018
  3. 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
  4. Jan 12, 2017
  5. May 17, 2015
  6. Aug 27, 2014
  7. Aug 12, 2012
  8. Mar 15, 2012
  9. Feb 26, 2012
  10. Sep 02, 2011
  11. Apr 30, 2011
  12. Jan 17, 2011
  13. Jun 10, 2010
  14. Feb 13, 2010
  15. Feb 05, 2010
Loading