[Top][All Lists]

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

Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults

From: Giuseppe Scrivano
Subject: Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults
Date: Mon, 15 Mar 2010 01:48:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> While I was at it I enabled builds on FreeBSD, OpenBSD, and Darwin.
> Currently ‘rlogind’ fails to build on these platforms:
>   http://hydra.nixos.org/jobset/gnu/inetutils-master
> Thanks,
> Ludo’.

I don't have any of that systems now to try it, but I guess this patch,
that I am going to apply, fixes the problem:


diff --git a/src/rlogind.c b/src/rlogind.c
index d247b6a..b73d7fc 100644
--- a/src/rlogind.c
+++ b/src/rlogind.c
@@ -190,8 +190,10 @@ int local_dot_count;
 struct winsize win = { 0, 0, 0, 0 };
+#ifdef __GLIBC__
 extern int iruserok (uint32_t raddr, int superuser,
                      const char *ruser, const char *luser);
 void rlogin_daemon (int maxchildren, int port);
 int rlogind_auth (int fd, struct auth_data *ap);

reply via email to

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