On Tue, Mar 06, 2007 at 09:34:31PM -0800, Junio C Hamano wrote:
a flip of a coin. I got lazy and didn't feel like implementing linked
lists. So instead I decided to use static char arrays. I can create a
#define <arraysize> with a comment on its intended use. Or do you prefer
a different approach.
Ooops. Thanks for catching that. The default TYPE_TEXT works for almost
all situations, which is why it passes my tests. The only reason why I
put that code in there is to handle very large base64 binary blobs (that
could overflow the char arrays over 2k bytes). I didn't have any binary
blobs that large to test so I never ran into this bug. I'll fix it up.
nope. meant too though. I'll fix that too.
see patch 2/5 for a better idea of the direction I was going with this.
Again another lazy trick to avoid linked lists and instead use static char
arrays to easily handle new content. Probably wouldn't hurt for me to clean
this up too.
ok.
yup. i'll fix this.
hmm. don't know why gcc 4.1.1 didn't catch that. anyway, the binary data
part was added much later. should be easy to fix.
i'll create a #define for those too.
that and git-quiltimport too.
I'll send out another draft this afternoon.
Cheers,
Don
-
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