bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 2/4] Add a new sethostname module


From: Bruno Haible
Subject: Re: [PATCH 2/4] Add a new sethostname module
Date: Sun, 4 Dec 2011 15:47:55 +0100
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Ben Walton wrote:
> --- a/doc/glibc-functions/sethostname.texi
> +++ b/doc/glibc-functions/sethostname.texi
> @@ -2,18 +2,24 @@
>  @subsection @code{sethostname}
>  @findex sethostname
>  
> -Gnulib module: ---
> +Gnulib module: sethostname
>  
>  Portability problems fixed by Gnulib:
>  @itemize
> address@hidden itemize
> -
> -Portability problems not fixed by Gnulib:
> address@hidden
>  @item
>  This function is missing on some platforms:
>  Minix 3.1.8, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS.
>  @item
>  This function is not declared on some platforms:
>  AIX 7.1, OSF/1 5.1, Solaris 10.
> address@hidden
> +On Solaris 10, the first argument is @code{char *} instead of
> address@hidden char *} and the second parameter is @code{int} instead of
> address@hidden
> address@hidden
> +On some platforms the Gnulib replacement always fails with ENOSYS.
> address@hidden itemize
> +
> +Portability problems not fixed by Gnulib:
> address@hidden
>  @end itemize

On Solaris 11-2011, I'm getting a gcc warning at test-sethostname1.c:23. Which
means, the problem with the declaration's parametere types is not fixed on this
version of Solaris. I'm fixing the doc:


2011-12-04  Bruno Haible  <address@hidden>

        sethostname: Fix documentation.
        * doc/glibc-functions/sethostname.texi: Move the Solaris problem to the
        "not fixed" section.

--- doc/glibc-functions/sethostname.texi.orig   Sun Dec  4 15:45:57 2011
+++ doc/glibc-functions/sethostname.texi        Sun Dec  4 15:43:42 2011
@@ -13,12 +13,12 @@
 @item
 This function is not declared on some platforms:
 AIX 7.1, OSF/1 5.1, Solaris 10.
address@hidden
-On Solaris 10, the first argument is @code{char *} instead of
address@hidden char *} and the second parameter is @code{int} instead of
address@hidden
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
address@hidden
+On Solaris 11 2010-11, the first argument is @code{char *} instead of
address@hidden char *} and the second parameter is @code{int} instead of
address@hidden
 @end itemize
-- 
In memoriam Fred Hampton <http://en.wikipedia.org/wiki/Fred_Hampton>



reply via email to

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