delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/30/00:59:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Jul 2008 00:59:13 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sys/utmp.h: login(3)
Message-ID: <20080730045913.GA14565@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <488FD052 DOT 8030205 AT users DOT sourceforge DOT net>
MIME-Version: 1.0
In-Reply-To: <488FD052.8030205@users.sourceforge.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Jul 29, 2008 at 09:22:10PM -0500, Yaakov (Cygwin Ports) wrote:
>I've come across a difference between the prototypes of login(3) on
>Cygwin and Linux.  On Linux, login() takes a const struct utmp *; our
>login (both stable and HEAD) doesn't specify const.
>
>More details at <http://bugs.kde.org/show_bug.cgi?id=130219#c12>.

I just checked in a patch which a const to most of the functions that
take utmp struct pointers.

Thanks.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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