Changeset 595 for trunk/src


Ignore:
Timestamp:
Nov 25, 2006, 3:16:39 AM (19 years ago)
Author:
bird
Message:

Fixed bug in the sdk walking in kbuild_collect_source_prop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/kbuild.c

    r575 r595  
    829829
    830830    /* the global sdks */
    831     for (iSdk = pSdks->iGlobal; iSdk < pSdks->cGlobal; iSdk++)
     831    for (iSdk = pSdks->iGlobal; iSdk < pSdks->iGlobal + pSdks->cGlobal; iSdk++)
    832832    {
    833833        struct variable *pSdk = &pSdks->pa[iSdk];
     
    863863
    864864    /* the target sdks */
    865     for (iSdk = pSdks->iTarget; iSdk < pSdks->cTarget; iSdk++)
     865    for (iSdk = pSdks->iTarget; iSdk < pSdks->iTarget + pSdks->cTarget; iSdk++)
    866866    {
    867867        struct variable *pSdk = &pSdks->pa[iSdk];
     
    897897
    898898    /* the source sdks */
    899     for (iSdk = pSdks->iSource; iSdk < pSdks->cSource; iSdk++)
     899    for (iSdk = pSdks->iSource; iSdk < pSdks->iSource + pSdks->cSource; iSdk++)
    900900    {
    901901        struct variable *pSdk = &pSdks->pa[iSdk];
     
    932932
    933933    /* the target + source sdks */
    934     for (iSdk = pSdks->iTargetSource; iSdk < pSdks->cTargetSource; iSdk++)
     934    for (iSdk = pSdks->iTargetSource; iSdk < pSdks->iTargetSource + pSdks->cTargetSource; iSdk++)
    935935    {
    936936        struct variable *pSdk = &pSdks->pa[iSdk];
Note: See TracChangeset for help on using the changeset viewer.