X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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: References: Date: Mon, 28 Dec 2015 11:24:18 +0800 Message-ID: Subject: Re: Issues in utmp/utmpx headers From: David Lee To: cygwin AT cygwin DOT 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 wrote: > David Lee 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