Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 28, 2017
  3. Dec 27, 2017
  4. Dec 07, 2017
  5. Dec 04, 2017
  6. Nov 07, 2017
  7. Nov 01, 2017
  8. Oct 29, 2017
  9. Oct 03, 2017
  10. Oct 02, 2017
  11. Sep 26, 2017
    • Niclas Zeising's avatar
      Fix dead code · f49f0879
      Niclas Zeising authored
      The check if buffer == NULL is always false, since buffer is an
      autoamtic variable allocated when entering the function.  What we
      instead want to do is to check if the string is empty after the call to
      exif_get_info(), since that means we could not read any exif
      information.
      When the code once more is enabled, I discovered that we need to copy
      the information string into info_buf as well as into  buffer, since it
      is the former that is used to print the exif information on top of the
      picture.  Without this change, imlib warns about trying to write NULL
      strings.
      f49f0879
    • Niclas Zeising's avatar
      Remove unused variable · 9b4341e1
      Niclas Zeising authored
      9b4341e1
  12. Sep 24, 2017
  13. Sep 16, 2017
  14. Sep 15, 2017
  15. Sep 13, 2017
  16. Sep 05, 2017
  17. Sep 04, 2017
  18. Sep 02, 2017
  19. Aug 31, 2017
  20. Aug 29, 2017
  21. Aug 27, 2017
  22. Aug 25, 2017
  23. Aug 23, 2017
  24. Aug 22, 2017
  25. Aug 21, 2017
  26. Aug 19, 2017
Loading