1. 29 Dec, 2016 1 commit
  2. 16 Nov, 2016 1 commit
    • use `giterr_set_str()` wherever possible · 65b78ea3
      `giterr_set()` is used when it is required to format a string, and since
      we don't really require it for this case, it is better to stick to
      `giterr_set_str()`.
      
      This also suppresses a warning(-Wformat-security) raised by the compiler.
      
      Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
      Pranit Bauva committed
  3. 26 May, 2016 2 commits
  4. 13 Feb, 2015 2 commits
  5. 26 Apr, 2014 1 commit
    • zstream: grow based on used memory rather than allocated · c7f86efb
      When deflating data, we might need to grow the buffer. Currently we
      add a guess on top of the currently-allocated buffer size.
      
      When we re-use the buffer, it already has some memory allocated; adding
      to that means that we always grow the buffer regardless of how much we
      need to use.
      
      Instead, increase on top of the currently-used size. This still leaves
      us with the allocated size of the largest object we compress, but it's a
      minor pain compared to unbounded growth.
      
      This fixes #2285.
      Carlos Martín Nieto committed
  6. 30 Jan, 2014 3 commits
  7. 26 Jan, 2014 1 commit
  8. 14 Jan, 2014 2 commits