[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gunzip store trouble identified

From: Roland McGrath
Subject: Re: gunzip store trouble identified
Date: Wed, 13 Mar 2002 19:36:58 -0500 (EST)

> The interface seems to me to be intended to support partial writes (actual
> amount written returned in AMOUNT).  Shouldn't it truncate?

If retrying with the remaining partial amount would be an error, than I
don't think it should.  Returning a short write count usually indicates you
can write more, just in smaller chunks.  When we know up front that you are
trying something that can't be done, it seems appropriate to me for it to
return an error for the request as a whole.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]