On Wed, Jun 11, 2014 at 04:42:56AM -0400, Eric Sunshine wrote:
On Mon, Jun 9, 2014 at 6:19 PM, Jeremiah Mahler jmmah...@gmail.com wrote:
Currently, the data in a strbuf is modified using add operations. To
set the buffer to some data a reset must be performed before an add.
Michael,
On Wed, Jun 11, 2014 at 02:05:35PM +0200, Michael Haggerty wrote:
On 06/10/2014 12:19 AM, Jeremiah Mahler wrote:
Currently, the data in a strbuf is modified using add operations. To
set the buffer to some data a reset must be performed before an add.
...
diff --git a/strbuf.c
On 06/12/2014 09:10 AM, Jeremiah Mahler wrote:
On Wed, Jun 11, 2014 at 02:05:35PM +0200, Michael Haggerty wrote:
[...]
If there were a function like strbuf_grow_to(sb, len):
void strbuf_grow_to(struct strbuf *sb, size_t len)
{
int new_buf = !sb-alloc;
if
Michael,
On Thu, Jun 12, 2014 at 12:21:48PM +0200, Michael Haggerty wrote:
On 06/12/2014 09:10 AM, Jeremiah Mahler wrote:
On Wed, Jun 11, 2014 at 02:05:35PM +0200, Michael Haggerty wrote:
[...]
If there were a function like strbuf_grow_to(sb, len):
void strbuf_grow_to(struct strbuf
On Mon, Jun 9, 2014 at 6:19 PM, Jeremiah Mahler jmmah...@gmail.com wrote:
Currently, the data in a strbuf is modified using add operations. To
set the buffer to some data a reset must be performed before an add.
strbuf_reset(buf);
strbuf_add(buf, cb.buf.buf, cb.buf.len);
And this is a
On 06/10/2014 12:19 AM, Jeremiah Mahler wrote:
Currently, the data in a strbuf is modified using add operations. To
set the buffer to some data a reset must be performed before an add.
strbuf_reset(buf);
strbuf_add(buf, cb.buf.buf, cb.buf.len);
And this is a common sequence of
Currently, the data in a strbuf is modified using add operations. To
set the buffer to some data a reset must be performed before an add.
strbuf_reset(buf);
strbuf_add(buf, cb.buf.buf, cb.buf.len);
And this is a common sequence of operations with 70 occurrences found in
the current source
7 matches
Mail list logo