1. 02 Dec, 2008 2 commits
  2. 21 Nov, 2008 1 commit
  3. 14 Nov, 2008 1 commit
  4. 09 Nov, 2008 1 commit
  5. 05 Nov, 2008 7 commits
  6. 29 Oct, 2008 1 commit
  7. 08 Oct, 2008 1 commit
  8. 06 Sep, 2008 1 commit
  9. 28 Aug, 2008 1 commit
  10. 12 Apr, 2008 1 commit
  11. 26 Mar, 2008 1 commit
  12. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  13. 05 Sep, 2007 1 commit
  14. 04 Sep, 2007 2 commits
  15. 02 Sep, 2007 1 commit
    • Eric Wong's avatar
      Fix endless loop when mpd is launched from a non-interactive shell. · bbe8b0ef
      Eric Wong authored
      Thanks to _noth_ for the patch, this fixes Mantis bug #1534
      
      _noth_ wrote:
      > When MPD is launched from a non-interactive shell, it enters an endless
      > loop, filling up its error log file with "error accept()'ing" messages.
      > This is caused by the fact that stdin is already closed when mpd starts
      > up.  listenOnPort() opens up the first of its sockets as fd 0 (the first
      > empty fd table position). Then, setup_log_output()->redirect_stdin()
      > overwrites fd0 (fd=open("/dev/null",...); dup2(fd, STDIN_FILENO);)
      > without checking if it corresponds to the actual standard input (or if
      > it is open in the first place).  This means that listenSockets[0].fd now
      > is a fd for /dev/null, thus doIOForInterfaces()->getConnections() can't
      > accept(2) on it and fails with the above error. The attached patch fixes
      > this for me.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@6843 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      bbe8b0ef
  16. 28 Aug, 2007 1 commit
  17. 29 Jun, 2007 1 commit
  18. 05 Apr, 2007 1 commit
  19. 19 Feb, 2007 1 commit
  20. 18 Feb, 2007 2 commits
  21. 14 Jan, 2007 1 commit
  22. 08 Jan, 2007 3 commits
  23. 03 Oct, 2006 1 commit
  24. 22 Aug, 2006 1 commit
  25. 12 Aug, 2006 1 commit
  26. 03 Aug, 2006 2 commits
  27. 01 Aug, 2006 1 commit
    • Eric Wong's avatar
      logging cleanups · 89073cfb
      Eric Wong authored
      * Moved all logging-related stuff into log.c
      (and not myfprintf.c)
      
      * ISO C90-compliant strftime usage:
      %e and %R replaced with %d and %H:%M respectively
      
      * Got rid of variadic macros since some old-school compilers
      don't like them
      
      * compiling with -DNDEBUG disables the DEBUG() macro
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      89073cfb
  28. 30 Jul, 2006 1 commit