This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[2]: new branch tagged for setup


Hello Robert,

Wednesday, July 03, 2002, 12:35:00 AM, you wrote:

>> I'll test it and report if the bug is still there. Then you may want
>> to give me some clues where to start looking for possible causes of
>> the bug.

RC> Just knowing it's there will be a help for now :}.

It seems to be gone :)

Since the code has changed quite a bit since the previous snapshot I
had to add some code to get the contents of the dependencies - please
just take a look to see if this is the proper code to extract the
dependencies:

  vector <vector <PackageSpecification *> *> *ppp;
  if ((ppp = pkg.desired.depends ()) != 0)
    {
      int sz = ppp->size ();
      for (int i = 0; i < sz; i++)
        {
           for (unsigned int j = 0; j < (*ppp)[i]->size (); j++)
             {
                String sss;
                sss = (*((*ppp)[i]))[j]->packageName();
                continue;
             }
        }
    }


I added this to OnNext() in choose.cc before the "if 0" line.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]