[Top][All Lists]
[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
- Re: [bug-inetutils] Readline code, (continued)
- Re: [bug-inetutils] Readline code, Simon Josefsson, 2011/11/19
- Re: [bug-inetutils] Readline code, Mats Erik Andersson, 2011/11/19
- Re: [bug-inetutils] Readline code, Simon Josefsson, 2011/11/19
- Re: [bug-inetutils] Readline code, Alfred M. Szmidt, 2011/11/19
- [bug-inetutils] Present support status for Solaris., Mats Erik Andersson, 2011/11/19
- Re: [bug-inetutils] Readline code, Guillem Jover, 2011/11/20
- Re: [bug-inetutils] Readline code, Alfred M. Szmidt, 2011/11/21
- Re: [bug-inetutils] Readline code, Mats Erik Andersson, 2011/11/21
- Re: [bug-inetutils] Readline code, Alfred M. Szmidt, 2011/11/19
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release, Simon Josefsson, 2011/11/19
- Re: [bug-inetutils] [Platform-testers] inetutils pre-release,
Simon Josefsson <=
[bug-inetutils] inetutils pre-release, Simon Josefsson, 2011/11/29