1. 16 May, 2017 1 commit
  2. 03 Jan, 2017 1 commit
  3. 10 Nov, 2016 2 commits
  4. 16 Sep, 2016 1 commit
  5. 08 Sep, 2016 1 commit
  6. 04 Sep, 2016 1 commit
  7. 01 Mar, 2016 1 commit
  8. 26 Feb, 2016 1 commit
  9. 17 Dec, 2015 1 commit
  10. 15 Dec, 2015 1 commit
  11. 01 Jan, 2015 1 commit
  12. 13 Jan, 2014 1 commit
  13. 15 Dec, 2013 1 commit
  14. 28 Nov, 2013 1 commit
  15. 04 Nov, 2013 1 commit
    • Max Kellermann's avatar
      Log: add level "DEFAULT" · ecf12a60
      Max Kellermann authored
      Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to
      G_LOG_LEVEL_MESSAGE.  Now client connect/disconnect message are only
      logged on log_level "secure".
      ecf12a60
  16. 02 Oct, 2013 1 commit
  17. 05 Sep, 2013 2 commits
  18. 04 Sep, 2013 1 commit
  19. 07 Aug, 2013 3 commits
  20. 04 Aug, 2013 1 commit
  21. 30 Jan, 2013 1 commit
  22. 10 Jan, 2013 1 commit
  23. 09 Jan, 2013 1 commit
  24. 14 Aug, 2012 1 commit
    • Max Kellermann's avatar
      log: store duplicated path string · dc22846d
      Max Kellermann authored
      Don't free the string right after calling log_init_file().  Add a new
      function log_deinit() that frees the string on shutdown.
      
      This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
      dc22846d
  25. 28 Nov, 2011 1 commit
  26. 09 Sep, 2011 3 commits
  27. 29 Jan, 2011 1 commit
  28. 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
  29. 08 May, 2010 1 commit
  30. 01 Jan, 2010 1 commit
  31. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  32. 10 Nov, 2009 1 commit
  33. 07 Nov, 2009 2 commits
    • Max Kellermann's avatar
      set the close-on-exec flag on all file descriptors · e3af0032
      Max Kellermann authored
      Added the "fd_util" library, which attempts to use the new thread-safe
      Linux system calls pipe2(), accept4() and the options O_CLOEXEC,
      SOCK_CLOEXEC.  Without these, it falls back to FD_CLOEXEC, which is
      not thread safe.
      
      This is particularly important for the "pipe" output plugin (and
      others, such as JACK/PulseAudio), because we were heavily leaking file
      descriptors to child processes.
      e3af0032
    • Max Kellermann's avatar
      log: redirect stdout/stderr to /dev/null if syslog is used · c440faa9
      Max Kellermann authored
      Don't hold a file descriptor on root's tty when syslog is used for
      logging.
      c440faa9