From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8549 invoked from network); 4 Apr 2005 09:58:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Apr 2005 09:58:02 -0000 Received: (qmail 66186 invoked from network); 4 Apr 2005 09:57:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Apr 2005 09:57:56 -0000 Received: (qmail 3981 invoked by alias); 4 Apr 2005 09:57:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21093 Received: (qmail 3965 invoked from network); 4 Apr 2005 09:57:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Apr 2005 09:57:51 -0000 Received: (qmail 65980 invoked from network); 4 Apr 2005 09:57:51 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 4 Apr 2005 09:57:46 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Mon, 4 Apr 2005 10:56:08 +0100 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 4 Apr 2005 11:00:21 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j349vlcD008198; Mon, 4 Apr 2005 10:57:47 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j349vkDO008195; Mon, 4 Apr 2005 10:57:47 +0100 Message-Id: <200504040957.j349vkDO008195@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: Toby Peterson , zsh-workers@sunsite.dk Subject: Re: Patches for zsh on Mac OS X 10.4 In-reply-to: References: Date: Mon, 04 Apr 2005 10:57:46 +0100 From: Peter Stephenson X-OriginalArrivalTime: 04 Apr 2005 10:00:21.0892 (UTC) FILETIME=[1D45C440:01C538FD] X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Toby Peterson wrote: > utmpx-apple.diff: We now include utmpx, but the struct has no ut_name > field. I suspect this issue may occur on other platforms... Solaris 9 > and Fedora Core 2 didn't appear to have the field either. Yes, it looks like ut_user is standard in struct utmpx. Solaris even has ut_user in struct utmp, but #define's ut_name for compatibility---this might be a clue to how the utmpx version currently works on Solaris. On the main line I'll commit this as follows: /* * In utmpx, the ut_name field is replaced by ut_user. * Howver, on some systems ut_name may already be defined this * way for the purposes of utmp. */ # ifndef ut_name # define ut_name ut_user # endif but I don't dare try that out on the 4.2 branch. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************