delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/04/16:34:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000701c19567$6df7a1c0$58995b8f@irngtx.tel.gte.com>
From: "Joshua" <jle AT post DOT com>
To: <cygwin AT cygwin DOT com>
Subject: login 1.4-2 LASTLOG file mismatch
Date: Fri, 4 Jan 2002 15:33:18 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

    All,

    I think I've found a small bug in the login program code versus the man
page regarding the last login feature.  The man page indicates that the file
necessary for storing the last login information is /var/log/lastlog, and
this file was actually created with zero length automatically.  But the code
references the file location as /usr/adm/lastlog, which is not created
automatically.

    When I created a zero length file /usr/adm/lastlog, the login program
now shows the last login date, time, and source.  Now, after the first use
of the /usr/adm/lastlog file, it's size grew to 3,048,420 bytes!  What's in
that file?  Is that normal?

    As a side question, when I compile Cygwin programs locally, they seem to
be much larger than the binaries installed by setup.exe.  For example, login
installed by setup.exe is 11,776 bytes; the login that I compiled myself is
44,945 bytes.  I made no changes whatsoever to the source code, and used the
makefile that came in the tarball.  In checking the archives, I saw one
cryptic reference to using 'strip' but I don't really understand that
reference.  BCNU//jle



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

- Raw text -


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