bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] New test client for Inetd.


From: Mats Erik Andersson
Subject: [bug-inetutils] New test client for Inetd.
Date: Tue, 9 Nov 2010 13:14:11 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

I have found the attached client very useful in verifying
the functionality of Inetd. It is pushed into

    tests/addrpeek.c

and it momentarily can test address of remote host, as well
as listing all environment variables in use.

The source is registered in `tests/Makefile.am' and compiles
well in GNU/Linux, using `make -C tests/ addrpeek'. However,
there is some sort of bug in GNUlib that causes OpenBSD to
abort the corresponding action with a complaint

    CC    addrpeek.o
  In file included from ../lib/unistd.h:103,
                   from addrpeek.c:30:
  ../lib/getopt.h:196: error: redefinition of `struct option'

Since no compilation is performed in "tests/" by the standard
targets (this is a bug) in the present state of IU, I leave the
insertion of Addrpeek in Makefile.am as it is for now. Someone
with knowledge of Autotools should mend this situation.

Observe, though, that "gcc -Wall tests/addrpeek.c" works on
OpenBSD without any complaint, so it is the default linking
against GNUlib that casuses all problems. The new client is
contructed in order not to depend on GNUlib at all.

Best regards,

Mats

Attachment: 0001-New-test-client-for-Inetd.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

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