Dear all,

torsdag den  6 september 2012 klockan 07:59 skrev Jim Meyering detta:
> Eric Blake wrote:
> >
> > Jim likes favoring < over >, so I'm swapping this to '0 < UT_PID (u)'.
> 
> Thanks Mats and Eric.  That looks fine.

With this new readutmp module, I have renovated the talkd server of
GNU Inetutils to work correctly for GNU/Linux, DragonflyBSD,
both using utmpx, and for OpenBSD, FreeBSD (<= 8.3), these using
a minimal utmp.

Unfortunately, the author of the new utmpx support in FreeBSD 9.0
has implemented so noticeable deviations that the module is now
broken for that release. The most obvious cause is that utmpname()
or utmpxname() do not exist. The closest replacement is setutxdb().

Furthermore, the functionality of pututxline() is particular to
say the least, and the file names are singular:

   /var/run/utx.active
   /var/run/utx.lastlogin
   /var/run/utx.log

The module needs some adaption in order to fit well enough.

Best regards,
  Mats Erik Andersson, on behalf of GNU Inetutils

Reply via email to