1. 01 Aug, 2018 1 commit
  2. 17 Jan, 2018 1 commit
  3. 12 Dec, 2017 1 commit
  4. 03 Jan, 2017 1 commit
  5. 15 Aug, 2016 1 commit
  6. 01 Mar, 2016 1 commit
  7. 26 Feb, 2016 1 commit
  8. 23 Feb, 2016 1 commit
    • Max Kellermann's avatar
      configure.ac, unix/Daemon: check for initgroups() at configure time · b3460f3f
      Max Kellermann authored
      The initgroups() manpage says we need to check for _BSD_SOURCE.  The
      thing is that glibc deprecated this macro, and doesn't define it
      anymore, effectively breaking all MPD supplementary groups.
      
      The real fix is to check for initgroups() availability at configure
      time, instead of relying on the deprecated _BSD_SOURCE macro.
      b3460f3f
  9. 16 Oct, 2015 1 commit
  10. 17 Sep, 2015 2 commits
  11. 15 Aug, 2015 2 commits
  12. 05 Mar, 2015 1 commit
  13. 01 Jan, 2015 1 commit
  14. 24 Jan, 2014 1 commit
  15. 18 Jan, 2014 3 commits
  16. 13 Jan, 2014 1 commit
  17. 29 Dec, 2013 4 commits
  18. 15 Dec, 2013 1 commit
  19. 28 Nov, 2013 1 commit
  20. 17 Oct, 2013 1 commit
    • Max Kellermann's avatar
      fs/Path: rename to AllocatedPath · abfbd553
      Max Kellermann authored
      The new class Path only holds a string pointer without being
      responsible for allocation/deallocation.  The FileSystem.hxx library
      accepts Path arguments instead of AllocatedPath, to avoid forcing
      callers to allocate another string object.
      abfbd553
  21. 02 Oct, 2013 1 commit
  22. 01 Oct, 2013 1 commit
  23. 07 Aug, 2013 4 commits
  24. 31 Mar, 2011 1 commit
  25. 29 Jan, 2011 1 commit
  26. 25 Sep, 2010 1 commit
    • Thomas Jansen's avatar
      eliminate g_error() usage · 28bcb8bd
      Thomas Jansen authored
      Replaced all occurrences of g_error() with MPD_ERROR() located in a new header
      file 'mpd_error.h'. This macro uses g_critical() to print the error message
      and then exits gracefully in contrast to g_error() which would internally call
      abort() to produce a core dump.
      
      The macro name is distinctive and allows to find all places with dubious error
      handling. The long-term goal is to get rid of MPD_ERROR() altogether. To
      facilitate the eventual removal of this macro it was added in a new header
      file rather than to an existing header file.
      
      This fixes #2995 and #3007.
      28bcb8bd
  27. 01 Jan, 2010 1 commit
  28. 13 Aug, 2009 1 commit
  29. 22 Jul, 2009 1 commit
    • Michal Nazarewicz's avatar
      daemon: daemonize_close_stdin() optimised. · bfed1c04
      Michal Nazarewicz authored
      Changed function to first close standard input (this may
      fail but we don't care) and then try to open /dev/null (this
      may fail but it shouldn't on Unix platforms plus we don't
      know what to do in such case anyways).  Since standard input
      has the "zeroth" descriptor number next "open" will use it.
      
      Since there is no "/dev/null" on Windows (It's not even
      a valid path!) the second step is skipped if WIN32 is
      defined.
      
      As a final touch, since the function consists of merely two
      function calls it has been moved to header file and declared
      static inline.
      
      [mk: un-inline daemonize_close_stdin()]
      bfed1c04
  30. 19 Jul, 2009 1 commit