Re: [PATCH] Rework strbuf API and semantics.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>, <git@...>
Date: Tuesday, September 4, 2007 - 9:34 am

Pierre Habouzit wrote:

release is indeed better. To me, "wipe" means zeroing out (possibly after
an optional number of passes writing trash to the memory area) rather than
actually freeing any memory.


Always having a compilable/operational tree is pretty nice primarily due
to bisect. If the code turns from working to non-working in between,
make sure to jot it down in the commit message.

It might even be better to add the embedded NUL handling code in the
first patch, modify the callers in the second, and remove the embedded
NUL handling in a third.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
strbuf API, Pierre Habouzit, (Sun Sep 2, 6:42 pm)
Re: strbuf API, Matthieu Moy, (Mon Sep 3, 4:32 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 4:49 am)
Re: strbuf API, Matthieu Moy, (Mon Sep 3, 5:02 am)
Re: strbuf API, Junio C Hamano, (Mon Sep 3, 5:18 am)
Re: strbuf API, Johannes Schindelin, (Mon Sep 3, 8:29 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 7:53 am)
Re: strbuf API, Johan Herland, (Mon Sep 3, 1:43 am)
Re: strbuf API, Pierre Habouzit, (Mon Sep 3, 4:46 am)
Re: strbuf API, Miles Bader, (Mon Sep 3, 9:52 pm)
strbuf new semantics, let's give it a try, Pierre Habouzit, (Tue Sep 4, 4:47 am)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 4:47 am)
Re: [PATCH] Rework strbuf API and semantics., Johannes Schindelin, (Tue Sep 4, 7:11 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 7:53 am)
Re: [PATCH] Rework strbuf API and semantics., Miles Bader, (Wed Sep 5, 12:44 am)
Re: [PATCH] Rework strbuf API and semantics., Andreas Ericsson, (Tue Sep 4, 9:34 am)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
Re: [PATCH] Rework strbuf API and semantics., Junio C Hamano, (Thu Sep 6, 6:03 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 6:22 am)
Re: [PATCH] Rework strbuf API and semantics., Junio C Hamano, (Thu Sep 6, 5:31 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 5:49 am)
[PATCH] Simplify write_tree using strbuf's., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
[PATCH] Further strbuf re-engineering., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
Re: [PATCH] Further strbuf re-engineering., Junio C Hamano, (Wed Sep 19, 4:05 am)
[PATCH] More strbuf uses in cache-tree.c., Pierre Habouzit, (Wed Sep 5, 3:18 pm)
[PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 10:01 am)
Re: [PATCH] Rework strbuf API and semantics., Johannes Schindelin, (Tue Sep 4, 11:44 am)
Re: [PATCH] Rework strbuf API and semantics., Pierre Habouzit, (Tue Sep 4, 12:18 pm)
Re: [PATCH] Rework strbuf API and semantics., Wincent Colaiuta, (Tue Sep 4, 1:18 pm)
[PATCH] Add strbuf_fread, use it in fast-import.c., Pierre Habouzit, (Tue Sep 4, 4:48 am)
Use strbufs in commit.c (pretty printing), Pierre Habouzit, (Sat Sep 8, 7:53 am)
[PATCH 1/3] Add strbuf_rtrim (to remove trailing spaces)., Pierre Habouzit, (Sat Sep 8, 7:53 am)
strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: strbuf new API, take 2 for inclusion, Jeff King, (Thu Sep 6, 8:58 am)
Re: strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 1:15 pm)
Re: strbuf new API, take 2 for inclusion, Jeff King, (Thu Sep 6, 1:16 pm)
Re: strbuf new API, take 2 for inclusion, Pierre Habouzit, (Thu Sep 6, 1:19 pm)
[PATCH 1/7] Rework strbuf API and semantics., Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Johannes Schindelin, (Thu Sep 6, 10:09 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 10:43 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:52 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:21 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 10:44 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 10:50 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 11:06 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Johannes Sixt, (Thu Sep 6, 11:45 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Jeff King, (Thu Sep 6, 11:36 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., David Kastrup, (Thu Sep 6, 11:53 am)
Re: [PATCH 1/7] Rework strbuf API and semantics., Kristian , (Thu Sep 6, 1:49 pm)
[PATCH 4/7] Simplify write_tree using strbuf's., Pierre Habouzit, (Thu Sep 6, 7:20 am)
[PATCH 5/7] Further strbuf re-engineering., Pierre Habouzit, (Thu Sep 6, 7:20 am)
Re: [PATCH 6/7] Eradicate yet-another-buffer implementation ..., Johannes Schindelin, (Thu Sep 6, 10:05 am)
[PATCH 7/7] More strbuf uses in cache-tree.c., Pierre Habouzit, (Thu Sep 6, 7:20 am)