nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] patch for getutent() support on non-Linux


From: Simon Burge
Subject: [Nmh-workers] patch for getutent() support on non-Linux
Date: Thu, 14 Oct 2004 21:26:27 +1000
User-agent: Mutt/1.4.2.1i

Here's a patch that gets getutent() support working on NetBSD (and
possibly some other operating systems).  Changes to the existing code
are:

 - Not all struct utmp includes a ut_type member.  Test for that in
   autoconf.

 - Use "ut_name" instead of "ut_user".  It seems that ut_name is the
   older structure name for the username, but Linux provides a #define
   for backwards compatibility.  Instead of checking for ut_user and/or
   ut_name in autoconf, just use ut_name everywhere.

Cheers,
Simon.
--
Simon Burge                                   <address@hidden>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/

Attachment: cvs.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]