• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Installation Manager Tool


Commit MetaInfo

Révisionb2bf3b42999b6fbdf740d585e81c43c4b75e1bf3 (tree)
l'heure2012-12-11 21:55:31
AuteurKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Message de Log

Do not preserve unnecessary download requests.

Change Summary

Modification

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
1+2012-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Do not preserve unnecessary download requests.
4+
5+ * src/pkginet.cpp (pkgActionItem::DownloadArchiveFiles):
6+ [(flags & ACTION_INSTALL) != ACTION_INSTALL]: Actions having no
7+ "install" effect do not require a download; cancel any associated
8+ download request.
9+
110 2012-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
211
312 Implement GUI bindings for package download agent.
--- a/src/pkginet.cpp
+++ b/src/pkginet.cpp
@@ -771,6 +771,12 @@ void pkgActionItem::DownloadArchiveFiles( pkgActionItem *current )
771771 */
772772 current->DownloadSingleArchive( package_name, pkgArchivePath() );
773773 }
774+ else
775+ /* The current action has no associated "install" requirement,
776+ * so neither is there any need to request a "download".
777+ */
778+ current->flags &= ~(ACTION_DOWNLOAD);
779+
774780 /* Flush out any diagnostics relating to the current package, then
775781 * repeat the download action, for any additional packages specified
776782 * in the current "actions" list.