{"thread":{"id":"10633","subject":"[PATCH] fix comment in strbuf.h to use correct name strbuf_avail()","startedAt":"2007-11-04T08:02:21Z","lastAt":"2007-11-04T08:56:51Z","messageCount":2,"participants":["Steffen Prohaska","Pierre Habouzit"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"58225","messageId":"11941633412454-git-send-email-prohaska@zib.de","threadId":"10633","inReplyTo":null,"subject":"[PATCH] fix comment in strbuf.h to use correct name strbuf_avail()","fromName":"Steffen Prohaska","fromEmail":"prohaska@zib.de","sentAt":"2007-11-04T08:02:21Z","receivedAt":"2007-11-04T08:02:21Z","isPatch":true,"sender":{"key":"prohaska@zib.de","avatar":"https://avatars.githubusercontent.com/u/217580?v=4"},"body":"\nSigned-off-by: Steffen Prohaska <prohaska@zib.de>\n---\n strbuf.h |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\nNote, the patch is against Junio's pu.\n\n    Steffen\n\ndiff --git a/strbuf.h b/strbuf.h\nindex 9720826..e5cdd1e 100644\n--- a/strbuf.h\n+++ b/strbuf.h\n@@ -24,11 +24,11 @@\n  *\n  *    strbuf_grow(sb, SOME_SIZE);\n  *    // ... here the memory areay starting at sb->buf, and of length\n- *    // sb_avail(sb) is all yours, and you are sure that sb_avail(sb) is at\n- *    // least SOME_SIZE\n+ *    // strbuf_avail(sb) is all yours, and you are sure that strbuf_avail(sb)\n+ *    // is at least SOME_SIZE\n  *    strbuf_setlen(sb, sb->len + SOME_OTHER_SIZE);\n  *\n- *    Of course, SOME_OTHER_SIZE must be smaller or equal to sb_avail(sb).\n+ *    Of course, SOME_OTHER_SIZE must be smaller or equal to strbuf_avail(sb).\n  *\n  *    Doing so is safe, though if it has to be done in many places, adding the\n  *    missing API to the strbuf module is the way to go.\n-- \n1.5.3.4.464.ge1bc2\n"},{"id":"58227","messageId":"20071104085651.GA26269@artemis.corp","threadId":"10633","inReplyTo":"11941633412454-git-send-email-prohaska@zib.de","subject":"Re: [PATCH] fix comment in strbuf.h to use correct name strbuf_avail()","fromName":"Pierre Habouzit","fromEmail":"madcoder@debian.org","sentAt":"2007-11-04T08:56:51Z","receivedAt":"2007-11-04T08:56:51Z","isPatch":true,"sender":{"key":"madcoder@debian.org","avatar":"https://avatars.githubusercontent.com/u/44708?v=4"},"body":"On Sun, Nov 04, 2007 at 08:02:21AM +0000, Steffen Prohaska wrote:\n> \n> Signed-off-by: Steffen Prohaska <prohaska@zib.de>\n  Acked-By: Pierre Habouzit <madcoder@debian.org>\n> ---\n>  strbuf.h |    6 +++---\n>  1 files changed, 3 insertions(+), 3 deletions(-)\n> \n> Note, the patch is against Junio's pu.\n> \n>     Steffen\n> \n> diff --git a/strbuf.h b/strbuf.h\n> index 9720826..e5cdd1e 100644\n> --- a/strbuf.h\n> +++ b/strbuf.h\n> @@ -24,11 +24,11 @@\n>   *\n>   *    strbuf_grow(sb, SOME_SIZE);\n>   *    // ... here the memory areay starting at sb->buf, and of length\n> - *    // sb_avail(sb) is all yours, and you are sure that sb_avail(sb) is at\n> - *    // least SOME_SIZE\n> + *    // strbuf_avail(sb) is all yours, and you are sure that strbuf_avail(sb)\n> + *    // is at least SOME_SIZE\n>   *    strbuf_setlen(sb, sb->len + SOME_OTHER_SIZE);\n>   *\n> - *    Of course, SOME_OTHER_SIZE must be smaller or equal to sb_avail(sb).\n> + *    Of course, SOME_OTHER_SIZE must be smaller or equal to strbuf_avail(sb).\n>   *\n>   *    Doing so is safe, though if it has to be done in many places, adding the\n>   *    missing API to the strbuf module is the way to go.\n> -- \n> 1.5.3.4.464.ge1bc2\n> \n\n-- \n·O·  Pierre Habouzit\n··O                                                madcoder@debian.org\nOOO                                                http://www.madism.org\n"}]}