Re: [PATCH 01/11] Introduce stream compress helpers

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marco Costalba <mcostalba@...>
Cc: <git@...>
Date: Sunday, February 3, 2008 - 6:53 pm

Marco Costalba <mcostalba@gmail.com> writes:


(Cosmetic)

Your log message lines are wrapped a bit too short, while some
of the patch lines are too long.


(Naming)

This is not about "allocation", but about "setup".


This returns Z_OK unconditionally and most callers do not even
bother checking the return value.  Shouldn't this be of type
void?

Especially the use of this in if() conditional, after [06/11]
changes its use in compress_all(), looks quite ugly.


Eventually, this should check errors from deflateEnd() and
propagate that to the caller.
-
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:
Re: [PATCH 01/11] Introduce stream compress helpers, Junio C Hamano, (Sun Feb 3, 6:53 pm)