This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sys/utmp.h: login(3)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 30 Jul 2008 00:59:13 -0400
- Subject: Re: sys/utmp.h: login(3)
- References: <488FD052.8030205@users.sourceforge.net>
- Reply-to: 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/