Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Originating-IP: [198.142.166.102]
From: "Gareth Pearce" <tilps@hotmail.com>
To: <cygwin@cygwin.com>
References: <OE59HpQHyD1C0Ug8cpF00003953@hotmail.com> <3BE7C26E.8BC55189@syntrex.com> <OE42gLSMARBLBpRwAOk0000cf69@hotmail.com> <3BE7CC65.B0D03C83@syntrex.com> <OE30sq4IBz0JZzapAUQ0000cff3@hotmail.com> <3BE7D8EF.88C1009A@syntrex.com>
Subject: Re: Setup use on win2k - a me too ...
Date: Tue, 6 Nov 2001 23:59:57 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <OE30HCiUeoexuqz5vmi0000d048@hotmail.com>
X-OriginalArrivalTime: 06 Nov 2001 12:59:48.0131 (UTC) FILETIME=[EA28B730:01C166C2]


----- Original Message -----
From: "Pavel Tsekov" <ptsekov@syntrex.com>
To: "Gareth Pearce" <tilps@hotmail.com>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, November 06, 2001 11:34 PM
Subject: Re: Setup use on win2k - a me too ...


> Gareth Pearce wrote:
> >
> > Due to the fact that recompiling to latest cvs appears to have fixed the
> > problem misteriously ... already ... I was not supprised that adding
those
> > lines produced
> >  ...
> > site: ftp://planetmirror.com/pub/sourceware/cygwin
> > get_url_to_string ftp://planetmirror.com/pub/sourceware/cygwin/setup.ini
> > ftp > 220 PlanetMirror FTP server ready.
> > FTP command is USER anonymous
> > ftp > 331 Anonymous login ok, send your complete email address as your
> > password.
> > ftp > 230-
> > ftp >   Welcome to the FTP archives at planetmirror.com.   You
> > ftp >   can also access these via a web interface reachable from:
> > ftp >
> > ...
> >
> > notice that the log records the 220 before the USER...
>
> This is so because there is a read just after the connect which is
> logged

umm ... so the client doesnt wait for any information from the ftp server
before entering the username?
I thought that waiting for 220 was something that would be done... maybe I
am dreaming though :)
Maybe I should read some of the code sometime ;)
>
> > the log from the time where it consumed memory evilly, it recorded x  as
the
> > first thing after the get_url_to_string...
> >
> > so I would guess that the bug stems previous to that...
>
> IMO if the problem is triggereddepends on who compiled the
> setup.exe. The pointers net_ftp_user and net_ftp_passwd are not
> zeroed in the code so it's up to the compiler if these are
> set to zero or just some random garbage. For example the MS compiler
> sets all unitialized variables to zero if you're building debug
> version of an app and leaves these as is if you're building release
> unless you specify otherwise explicitly with an compiler option.

quite possible ... although in the 3 occasions I tested, they were all done
on the same computer with gcc, 1 failed the others didnt, the one that
failed was version 128, the ones that didnt were 129... this could be
spurious ... since I have had programs where adding a variable declaration
in file A, resulted in program stopping working due to variable B in file C
not being initialised to 0 anymore... (since I hadnt initialised it at all
in the first place ... oops)

>
> --
> 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/
>
>

--
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/

