Mail Archives: cygwin-developers/2001/05/28/02:44:38
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);
- Raw text -