This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Issues in utmp/utmpx headers
- From: David Lee <mailtolky at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 28 Dec 2015 11:24:18 +0800
- Subject: Re: Issues in utmp/utmpx headers
- Authentication-results: sourceware.org; auth=none
- References: <CALiPeumt3nnNr=6P_p7WUUy1QHk6CBHXpv0i36Y3QanqoN3DbQ at mail dot gmail dot com> <loom dot 20151227T200026-993 at post dot gmane dot org>
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