• 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évision3ab7f88d863875a797680579d1de649cbc2219d1 (tree)
l'heure2013-01-09 01:34:53
AuteurKeith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Message de Log

Fix enumeration of pending install actions for scheduled upgrades.

Change Summary

Modification

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
11 2013-01-08 Keith Marshall <keithmarshall@users.sourceforge.net>
22
3+ Fix enumeration of pending install actions for scheduled upgrades.
4+
5+ * src/pkgdata.cpp (pkgActionItem::EnumeratePendingActions):
6+ [action == ACTION_UPGRADE && classified == ACTION_INSTALL]: Enumerate
7+ upgrade as a special case of the install classification.
8+
9+2013-01-08 Keith Marshall <keithmarshall@users.sourceforge.net>
10+
311 Implement "Mark All Upgrades" GUI capability.
412
513 * src/guimain.h (IDM_REPO_APPLY): Renumbered; make room for...
--- a/src/pkgdata.cpp
+++ b/src/pkgdata.cpp
@@ -4,7 +4,7 @@
44 * $Id$
55 *
66 * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
7- * Copyright (C) 2012, MinGW.org Project
7+ * Copyright (C) 2012, 2013, MinGW.org Project
88 *
99 *
1010 * Implementation of the classes and methods required to support the
@@ -1265,9 +1265,11 @@ unsigned long pkgActionItem::EnumeratePendingActions( int classified )
12651265 int action;
12661266 if( (action = item->flags & ACTION_MASK) != 0 )
12671267 {
1268- /* ...and, when one is found...
1268+ /* ...and, when one is found, (noting that ACTION_UPGRADE may
1269+ * also be considered as a special case of ACTION_INSTALL)...
12691270 */
1270- if( action == classified )
1271+ if( (action == classified)
1272+ || ((action == ACTION_UPGRADE) && (classified == ACTION_INSTALL)) )
12711273 {
12721274 /* ...and it matches the classification in which
12731275 * we are interested, then we retrieve the tarname