Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #179: multicasts on broken packets


comp / comp.unix.bsd.freebsd.misc / the utmp.h header file

SubjectAuthor
* the utmp.h header fileWolfgang Agnes
`- Re: the utmp.h header fileSteven G. Kargl

1
Subject: the utmp.h header file
From: Wolfgang Agnes
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 21:04 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wagnes@example.com (Wolfgang Agnes)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: the utmp.h header file
Date: Fri, 22 Nov 2024 18:04:39 -0300
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <87h67zf09k.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 22 Nov 2024 22:04:43 +0100 (CET)
Injection-Info: dont-email.me; posting-host="437ae9c9ee03a05235d1e9584b6afa62";
logging-data="1422318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/FBjgP+9tWkwn1GrY8wXpg4jrTlsHZ1Y="
Cancel-Lock: sha1:9aVuTnhE5teprh6pdXtOUl2+IMM=
sha1:GSDwvH2vxYeHEznau66f0O+jmoU=
View all headers

The program qbiff from the qmail package uses the header utmp.h, which
houses the declaration of various structures needed to use the login
database in systems that are perhaps not FreeBSD. The program qbiff.c
doesn't compile because it can't find utmp.h.

It seems FreeBSD has either evolved the system to use utmpx.h or perhaps
it never used the utmp.h header we perhaps find in GNU systems. I've no
idea.

I'm wondering if there's anything easy that can be done so that qbiff
would compile and work correctly. Just making a symbolic link from
utmp.h to utmpx.h wouldn't suffice because all structures defined by
utmpx.h in FreeBSD have different names. So perhaps I'm out of luck.

By the way, I'm not really interested in qbiff. On the contrary, I'm
more interested in understanding FreeBSD with regard to this
compatibility question involving other systems.

Subject: Re: the utmp.h header file
From: Steven G. Kargl
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Fri, 22 Nov 2024 21:26 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: the utmp.h header file
Date: Fri, 22 Nov 2024 21:26:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <vhqstg$1bg43$1@dont-email.me>
References: <87h67zf09k.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 22 Nov 2024 22:26:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="60b14c5f0143a128facba237f5e5af3d";
logging-data="1425539"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qnFzDVaGfZs7Ry/bemRu3"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:UQEucyzI9IansTn9bDrOyk77srA=
View all headers

On Fri, 22 Nov 2024 18:04:39 -0300, Wolfgang Agnes wrote:

> It seems FreeBSD has either evolved the system to use utmpx.h or perhaps
> it never used the utmp.h header we perhaps find in GNU systems. I've no
> idea.

% git log /usr/src/include/utmpx.h | more

commit a627ac61ab8d660acfe6c88b01bdca8e8c1590aa
Author: Ed Schouten <ed@FreeBSD.org>
Date: Wed Jan 13 17:29:55 2010 +0000

Implement <utmpx.h>.
....
I'll bump __FreeBSD_version later this evening. I first
want to convert everything to <utmpx.h> and get rid of
<utmp.h>.

> By the way, I'm not really interested in qbiff. On the contrary, I'm
> more interested in understanding FreeBSD with regard to this
> compatibility question involving other systems.

It seems utmp.h was removed in the 9.0 timeframe. It is present
in 8.4.

--
steve

1

rocksolid light 0.9.8
clearnet tor