coreutils
[Top][All Lists]
Advanced

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

maint: prefer STRUCT_UTMP to struct gl_utmp


From: Collin Funk
Subject: maint: prefer STRUCT_UTMP to struct gl_utmp
Date: Sat, 23 Aug 2025 14:52:24 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

The STRUCT_UTMP typedef was introduced and began being used by readutmp
in this Gnulib commit:

    commit 622d2c0763777eb909a4fda5048238f524cc36f9
    Author:     Bruno Haible <bruno@clisp.org>
    AuthorDate: Tue Aug 8 17:36:10 2023 +0200
    Commit:     Bruno Haible <bruno@clisp.org>
    CommitDate: Tue Aug 8 18:04:53 2023 +0200
   
        readutmp: Return entries with unbounded strings on all platforms.

I think it looks nicer than 'struct gl_utmp'. And the prototypes in
readutmp.h use them, so it is easier to find references to what the
structure is by changing it.

Will push the attatched patch in a bit.

Collin

Attachment: 0001-maint-prefer-STRUCT_UTMP-to-struct-gl_utmp.patch
Description: Text Data


reply via email to

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