[PATCH] Update of "size" column patch for setup (Was Re: Is setup-2.506ready to release?)

Brian Dessent brian@dessent.net
Thu Sep 1 15:48:00 GMT 2005

Igor Pechtchanski wrote:

> Ok, attached is a quick update to that patch -- please let me know if it
> needs more work.  ChangeLog is at the end of this message.

Thanks for the patch, I've applied it with a minor change to the logic
that computes the size.  In your version, if you clicked on "Src" for a
package that was currently installed, the size column would display only
the size of the source package and not the size of the combined
bin+src.  That makes sense from the standpoint of what has to be
downloaded but it doesn't make sense from the standpoint of how much
disk space will be occupied (which is how I interpret the meaning of the

In some cases choosing to install the source package would cause the
size column to decrease which is counterintuitive to the action of
selecting an additional thing to be downloaded and installed.  The
modified version displays the sizeof(bin) or sizeof(bin+src) if src is
also selected, but never just sizeof(src).

And sorry for the delay in getting to this.


More information about the Cygwin-apps mailing list