X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=tR
	8WK38QqWIhRXX3aGWT00QjaPGTqfnlWY/BPTVsPS48MMF3YNYxYxWtJuDOSyKfYr
	webf8bnz77+lNQ+76bzq/wJV0LTdv4TDAP4tzAmj+xt4A3H3P+0NpDCAoIgJ6HlK
	QfxYFGyN1jzkqvelda5rHiAEmFBOeqRd6KU8yUAPY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=JkjYjoMA
	RdaetlQTi6qbQKxXUjQ=; b=Su6ffGrJyl8j8TsgSwgNSN0WdRTDsXYGHMyLdlN7
	xKqM32l+oX+wPG4Bc9WZWluB/3f01JAYXP2r2XP5KtcQmu7O/jU8TiQOk31K+noz
	xoY+cPLhitnzUpHQD/fo6atIlyQ+HlQsCXQ6c16DVtfuHUdCApNcH9wPrNLmM+lf
	hgs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1106, Lee, lee
X-HELO: mail-ig0-f173.google.com
MIME-Version: 1.0
X-Received: by 10.50.138.11 with SMTP id qm11mr31005219igb.53.1451273058292; Sun, 27 Dec 2015 19:24:18 -0800 (PST)
In-Reply-To: <loom.20151227T200026-993@post.gmane.org>
References: <CALiPeumt3nnNr=6P_p7WUUy1QHk6CBHXpv0i36Y3QanqoN3DbQ@mail.gmail.com>	<loom.20151227T200026-993@post.gmane.org>
Date: Mon, 28 Dec 2015 11:24:18 +0800
Message-ID: <CALiPeun3v+vME=6YU5bgvKp2ENv+csuLLSdKu5Jj0T9x66eQjw@mail.gmail.com>
Subject: Re: Issues in utmp/utmpx headers
From: David Lee <mailtolky@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Hi,

The issue isn't missing, not-installed packages. The issues are (1)
some function declaration seem wrong; and (2) a constant is missing.

Thanks.

David Lee

On 28 December 2015 at 03:02, Brian Inglis
<Brian.Inglis@systematicsw.ab.ca> wrote:
> David Lee <mailtolky <at> gmail.com> writes:
>> While trying to port bsdgames to Cygwin I spotted the following issues:
>> (1) In /usr/include/utmpx.h, utmpxname() is declared a void function.
>> Should it return int?
>> (2) In /usr/include/sys/utmp.h, utmpname() is declared a void
>> function. Should it return int?
>> (3) _PATH_UTMPX is not defined in any system headers.
>
> Search packages for missing files e.g.
> https://cygwin.com/cgi-bin2/package-grep.cgi?grep=utmp.h&arch=x86_64
> brings up package cygwin-devel and cygwin32.
> Download and run setup and select cygwin-devel to install the headers and
> libraries.
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

