From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93150 invoked by alias); 27 Dec 2015 19:02:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 93131 invoked by uid 89); 27 Dec 2015 19:02:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Issues, brings, H*M:post, H*f:CALiPeumt3nnNr X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 27 Dec 2015 19:02:58 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aDGak-0003Ai-8F for cygwin@cygwin.com; Sun, 27 Dec 2015 20:02:54 +0100 Received: from S010690fba62c4bda.cg.shawcable.net ([96.51.88.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Dec 2015 20:02:54 +0100 Received: from Brian.Inglis by S010690fba62c4bda.cg.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Dec 2015 20:02:54 +0100 To: cygwin@cygwin.com From: Brian Inglis Subject: Re: Issues in utmp/utmpx headers Date: Sun, 27 Dec 2015 19:02:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00329.txt.bz2 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