Skip to content
Snippets Groups Projects
  1. Oct 17, 2018
    • Birte Kristina Friesel's avatar
      Use random() instead of rand() to increase portability · 9803fc41
      Birte Kristina Friesel authored
      Quoting glibc rand(3):
      
      The  versions  of rand() and srand() in the Linux C Library use the same random
      number generator as random(3) and srandom(3), so the lower-order bits should be
      as  random  as  the  higher-order bits.   However,  on  older  rand()
      implementations, and on current implementations on different systems, the
      lower-order bits are much less random than the higher-order bits.  Do not use
      this function in applications intended to be portable when good randomness is
      needed.  (Use random(3) instead.)
      9803fc41
  2. May 11, 2018
  3. Jan 24, 2018
  4. Apr 02, 2017
  5. Aug 03, 2014
  6. Aug 12, 2012
  7. Jan 24, 2012
  8. Aug 23, 2011
  9. Apr 30, 2011
  10. Jan 17, 2011
  11. Jul 17, 2010
  12. Jun 10, 2010
  13. Mar 25, 2010
    • Birte Kristina Friesel's avatar
      Actually detect an empty filelist · 4e84bc4b
      Birte Kristina Friesel authored
      This fixes imlib2 warnings (and occasional X errors/segfaults), which used to
      occur when all files in feh's filelist were suddenly deleted by an external
      application. Now, feh simply quits with "No more slides in show" (which makes
      more sense, IMHO).
      4e84bc4b
  14. Feb 13, 2010
  15. Feb 12, 2010
  16. Feb 05, 2010
Loading