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:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=S2JEQ+PyIXT7tGhPip1l0QEH3lHG5
	Jc8zp8XAriUpj5Ztrb/IKf/5lrQ1BDuhoawU85yaau7eu1uvJZIFWV7oNltAVuM9
	pmJCUmyyzs5f2q5p5o6i/BM5q48h/1n3wNr3Gcp9cLDsHflkh4wN5YV8JzDgAxJE
	tJ809jOEf9qFGA=
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:date:message-id:subject:from:to
	:content-type; s=default; bh=HyMmPlRx3L3932FaHps6POINh1c=; b=sB1
	OV5ZzuWmI0s44vdANwJEf3+TMC/KUumqJYC2uUh2mL0xOBu8mSFCi4KkcmQR366X
	+ab/W+ZrYXAcPkuf05FlDdsJFtU8rC5SWL2p7txg+LH7gYHmTv40cvfMxlEBn9PS
	YzlzvHWjty0pzdiD5iNST3VWuXo9VwCurNU0V1UE=
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=-0.6 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:373, Lee, lee
X-HELO: mail-io0-f169.google.com
MIME-Version: 1.0
X-Received: by 10.107.47.20 with SMTP id j20mr2367052ioo.168.1451184975169; Sat, 26 Dec 2015 18:56:15 -0800 (PST)
Date: Sun, 27 Dec 2015 10:56:15 +0800
Message-ID: <CALiPeumt3nnNr=6P_p7WUUy1QHk6CBHXpv0i36Y3QanqoN3DbQ@mail.gmail.com>
Subject: 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 all,

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.

Thanks

David Lee

--
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

