This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: utmp
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 7 Mar 2003 22:37:45 -0500
- Subject: Re: utmp
- References: <3.0.5.32.20030307220508.007d2d50@mail.attbi.com>
- Reply-to: cygwin-patches at cygwin dot com
On Fri, Mar 07, 2003 at 10:05:08PM -0500, Pierre A. Humblet wrote:
>Here is GetComputerName replacing cygwin_gethostname. When testing I
>found an old bug: ut_id wasn't set although login() uses it in
>getutid(), called from pututline().
>
>utmp is now closed with endutent() (that's what sshd does too) and I
>optimized setutent.
>
>Please review & apply.
Done & done.
Thanks for the patch.
cgf