Re: Advice needed: updating whowatch 1.4 → 1.8.6 on FreeBSD (wtmp/utmpx issues)

Jamie Landeg-Jones <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Organization Dyslexic Fish
Message-ID <[email protected]>
Miroslav Lachman <[email protected]> wrote:
>
> I don't know it this is of any help (I am not the C dev), but I just 
> found this patch for version 1.4 for utmpx
>
> https://github.com/pld-linux/whowatch/blob/master/whowatch-utmpx.patch

That just seems to be a patch to alter the filename, and some of the
variable names, but not much else.

Even if that works, it would be better to use the utmpx functions (getutxent) etc.
rather than open and read the file directly.

Cheers, Jamie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.