This is the mail archive of the cygwin@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]

Re: Setup use on win2k - a me too ...


Gareth Pearce wrote:
> 
> ----- Original Message -----
> From: "Pavel Tsekov" <ptsekov@syntrex.com>
> To: "Gareth Pearce" <tilps@hotmail.com>
> Cc: <cygwin@cygwin.com>
> Sent: Tuesday, November 06, 2001 9:58 PM
> Subject: Re: Setup use on win2k - a me too ...
> 
> > Gareth Pearce wrote:
> > >
> > > - I clicked the cancel button and waited while memory got cleaned up ...
> for
> > > this case.
> > >
> > > setup.log.full - is huge 44megs ...
> > > as above till net: Direct - then
> > > get_url_to_string http://sources.redhat.com/cygwin/mirrors.lst
> > > site: ftp://planetmirror.com/pub/sourceware/cygwin
> > > get_url_to_string ftp://planetmirror.com/pub/sourceware/cygwin/setup.ini
> > > ftp > x
> > > ftp > x
> > > ftp > x
> > > repeat the ftp line semi-ad-infinitum.
> > >
> >
> > What does the 'x' after 'ftp >' replace ? USER ?
> >
> thats a direct copy from the setup.log.full - I wasnt masking something - if
> thats what you mean.

Yes that was what I mean but I saw I dont need to ask that question
some ticks after I posted it  :)

Can you build a new setup.exe with a simple change ?

find this lines in nio-ftp.cc

auth_retry:
      if (net_ftp_user)
        c->printf ("USER %s\r\n", net_ftp_user);
      else
        c->printf ("USER anonymous\r\n");

and change them like this

auth_retry:
      if (net_ftp_user) {
        log (LOG_BABBLE, "FTP command is USER %s", net_ftp_user);
        c->printf ("USER %s\r\n", net_ftp_user);
      }
      else {
        log (LOG_BABBLE, "FTP command is USER anonymous");
        c->printf ("USER anonymous\r\n");
      }


Compile and see what is in setup.log.full

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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