bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] [patches] Making Inetutils compilable on OpenBSD.


From: Mats Erik Andersson
Subject: [bug-inetutils] [patches] Making Inetutils compilable on OpenBSD.
Date: Thu, 16 Sep 2010 01:38:53 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

more corrections and adaptions to OpenBSD. A set of three patches:

  0001-ifconfig-... : Augmentation to formatted printing.

  0002-src-rexec.c- ... : Missing casts to "struct sockaddr".

  0003-libinetutils-cleansess-utmp_*.c : Necessary adaptions to
      get compilable code from the autodetected properties.

This third patch also discloses a serious failure in the detection
for GNU/Linux:

    #define HAVE_STRUCT_UTMP_UT_USER 1
    #define HAVE_STRUCT_UTMPX_UT_USER 1

    #define HAVE_STRUCT_UTMP_UT_NAME 1
    #define HAVE_STRUCT_UTMPX_UT_NAME 1

All these are found in config.log, but the last two are false,
as a look into utmp(5) reveals. This error made 0003-libinetutils-...
keep its non-stringent conditionals.

Could someone take a good look into the detection for GNU/Linux here?
For OpenBSD the detection is correct!


Best regards,
Mats E A

Attachment: 0001-ifconfig-flags-options-printif-Correct-format-string.patch
Description: Text Data

Attachment: 0002-src-rexec.c-Use-casts-to-struct-sockaddr.patch
Description: Text Data

Attachment: 0003-libinetutils-cleansess-utmp_-Adaptions-for-OpenBSD.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

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