delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/24/23:23:58

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sat, 24 Jun 2000 23:23:46 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Added cygwin version info to cygcheck.cc
Message-ID: <20000624232346.A29888@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2i

I just checked in a change that adds cygwin version info to cygcheck
output.  When cygcheck finds a DLL named "cygwin1.dll" it attempts to
read version info from the file.  If it fails then nothing is printed.
Otherwise the output looks like this:

 6494k 2000/06/25 f:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 3
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 22
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        build date: Sat Jun 24 20:46:08 EDT 2000
        shared id: cygwin1S3-2000-06-24 20:46

I've also modified cygcheck so that cygwin1.dll info is always printed
last when doing a 'cygcheck -s'.

I'm not 100% satisfied with the way the output looks but I can't think
of anything better than this.  This is just a dumping of the strings
that are in the DLL.

If anyone wants to patch cygcheck.cc to make this more visually
appealing somehow, feel free.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019