Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com X-WM-Posted-At: MailAndNews.com; Mon, 17 Apr 00 10:43:26 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: setup triubles Reply-to: cygwin-developers AT sourceware DOT cygnus DOT com From: Vadim Egorov Date: 17 Apr 2000 18:42:56 +0400 Message-ID: Lines: 135 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, Below is a patch which solves some of problems I met while trying to install the new net release. Problems were caused by Novel Border Manager which was used as ftp proxy. I found that it generates quite hmm... uncommon ftp listing and the setup program was a bit confused with it. The ftp listing contains element defining base url and elements with relative path names in their href attributes. In addition each line in the listing begins with '\0'. Finally, after I got through it my drive got cluttered with all these miserable ftp listings, so I added a couple of unlink calls. Then all went smooth until I found that the small white-blue icon I used to see since B20 times got lost and cygwin console window is now uglified with MSDOS icon. What one can expect to see though such a window? I believe that it may result in numerous hard to find bugs, performance degradation and overall unstability. One more thing - uninstall script hasn't deleted /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2libstdc++.a which is a symlik to ../../../libstdc++.a.2.10.0 -- Regards, Vadim Egorov Index: setup.c =================================================================== RCS file: /cvs/src/src/winsup/cinstall/setup.c,v retrieving revision 1.19 diff -c -r1.19 setup.c *** setup.c 2000/04/17 04:01:31 1.19 --- setup.c 2000/04/17 12:10:44 *************** *** 21,27 **** #define CYGNUS_KEY "Software\\Cygnus Solutions" #define DEF_ROOT "C:\\cygwin" ! #define DOWNLOAD_SUBDIR "latest" #define SCREEN_LINES 25 #define COMMAND9X "command.com /E:4096 /c " --- 21,27 ---- #define CYGNUS_KEY "Software\\Cygnus Solutions" #define DEF_ROOT "C:\\cygwin" ! #define DOWNLOAD_SUBDIR "latest/" #define SCREEN_LINES 25 #define COMMAND9X "command.com /E:4096 /c " *************** *** 580,589 **** char * findhref (char *buffer) { ! char *ref = strstr (buffer, "href="); if (!ref) ! ref = strstr (buffer, "HREF="); if (ref) { --- 580,598 ---- char * findhref (char *buffer) { ! char *ref; ! char *anchor = strstr (buffer, "