Fixed patch for install.cc
Robert Collins
rbcollins@cygwin.com
Wed Mar 12 22:18:00 GMT 2003
On Mon, 2003-03-10 at 09:09, Pavel Tsekov wrote:
> Changelog entry:
>
> 2003-03-09 Pavel Tsekov <ptsekov@gmx.net>
>
> * install.cc (do_install_thread): Use IDS_SKIP_PACKAGE
> instead of IDS_CORRUPT_PACKAGE when asking the user to take
> action if the hash verification check fails for a source package.
> Do not increase the value of 'total_bytes' variable if the
> user chooses to skip over a package, which failed the hash
> verification.
>
>
Applied, thank you.
I made a small tweak to the code there at the same time, to eliminate
do_skip. It's good practice to use a query method where possible, as
this makes the semantic clearer to a casual reader (modulo the clarity
of the method names).
Rob
--
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030312/b9854830/attachment.sig>
More information about the Cygwin-apps
mailing list