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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 . 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/