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 sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <000b01c0e741$63e0a0d0$6e3a243f@ca.boeing.com> From: "Michael A. Chase" To: Subject: Setup version in setup.log Date: Sun, 27 May 2001 23:42:31 -0700 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 It would make it easier to track some of the problems with setup.exe if it wrote it's version as part of the startup message in setup.log. Tonight I discovered the opengl libraries in c:\cygwin\usr\lib\; I think I was using setup.exe before 2.55 when I installed opengl, but I am not really sure. I still haven't shaken my company's disclaimer loose, but this patch is only three lines, so hopefully you can accept it without the disclaimer. -- Mac :}) Give a hobbit a fish and he'll eat fish for a day. Give a hobbit a ring and he'll eat fish for an age. ChangeLog: 2001-05-27 Michael Chase mchase AT ix DOT netcom DOT com * main.cc (WinMain): Add setup version to starting setup.log entry Patch: $ diff -u -p old/main.cc new/main.cc --- old/main.cc Wed Sep 6 20:09:30 2000 +++ new/main.cc Sun May 27 23:30:22 2001 @@ -37,6 +37,7 @@ static char *cvsid = "\n%%% $Id: main.cc #include "find.h" #include "mount.h" #include "log.h" +#include "version.h" #include "port.h" @@ -57,7 +58,8 @@ WinMain (HINSTANCE h, next_dialog = IDD_SPLASH; - log (LOG_TIMESTAMP, "Starting cygwin install"); + log (LOG_TIMESTAMP, "Starting cygwin install version %s", + version[0] ? version : "[unknown]"); char cwd[_MAX_PATH]; GetCurrentDirectory (sizeof (cwd), cwd);