1. 08 Apr, 2007 3 commits
  2. 05 Apr, 2007 1 commit
  3. 04 Apr, 2007 1 commit
  4. 03 Apr, 2007 2 commits
  5. 31 Mar, 2007 9 commits
  6. 23 Mar, 2007 2 commits
  7. 21 Mar, 2007 1 commit
  8. 20 Mar, 2007 8 commits
  9. 18 Mar, 2007 1 commit
  10. 09 Mar, 2007 1 commit
  11. 02 Mar, 2007 1 commit
  12. 28 Feb, 2007 1 commit
  13. 27 Feb, 2007 2 commits
  14. 24 Feb, 2007 3 commits
  15. 23 Feb, 2007 1 commit
  16. 19 Feb, 2007 3 commits
    • Eric Wong's avatar
      pcm_utils: fix libsamplerate compilation with non-C99 compilers · 08a7a86b
      Eric Wong authored
      Mixing code and declarations is ugly, anyways.
      
      We could probably get away with using alloca(), but I'm not sure
      how good compiler support is for that, either.  It's probably
      more supported than mixed declarations and code.  Nevertheless;
      we'll trigger memory checkers on exit because we don't free
      the buffers; but we won't actually leak because we reuse those
      buffers (just like the non-SRC code path).
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@5397 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      08a7a86b
    • Eric Wong's avatar
      More (v)snprintf-related buffer over-allocations removed · 658b8f53
      Eric Wong authored
      Also took out an unnecessary memset in getPlayerErrorStr
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@5396 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      658b8f53
    • Eric Wong's avatar
      inputStream_http: cleanup GET request code (finishHTTPInit) · 772dc6bc
      Eric Wong authored
      Avoid unnecessary memset to zero, snprintf always puts a
      trailing '\0'.  We also have no need to subtract one from the
      buffer we're snprintf-ing it to.
      
      We also check the return value of snprintf to ensure it's not
      too long.  I have a feeling we might as well avoid snprintf
      altogether so we don't have to worry about buffer sizing/stack
      overflow and just do a bunch of write(2)s, letting Nagle sort it
      out...
      
      Also, centralize some of the exit error handling in with
      goto.  This makes the code a bit more consistent and
      maintainable as well as reducing code and binary size.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@5395 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      772dc6bc