bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] [Platform-testers] inetutils pre-release


From: Simon Josefsson
Subject: Re: [bug-inetutils] [Platform-testers] inetutils pre-release
Date: Sat, 19 Nov 2011 16:41:48 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Simon Josefsson <address@hidden> writes:

>> * AIX 5.1, OSF/1 5.1, Solaris 8
>>
>>   CC     hostname.o
>> "hostname.c", line 93.25: 1506-045 (S) Undeclared identifier sethostname.
>> "hostname.c", line 161.31: 1506-045 (S) Undeclared identifier sethostname.
>> make: 1254-004 The error code from the last command is 1.
>>
>> The function sethostname is not portable, see
>> gnulib/doc/glibc-functions/sethostname.texi
>
> Either hostname should return an error on these platforms, or it
> shouldn't be built at all.  I'm mildly in favor of the first option
> (there are other uses of hostname than setting the hostname).  Thoughts?
> I'll implement the former unless if there are no objections.

I don't have time to fix this, so I documented the problem in TODO:

 Make src/hostname.c handle missing 'sethostname' functions on
 platforms that doesn't have them (it could just print an error
 message).

/Simon



reply via email to

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