bug-gnulib
[Top][All Lists]
Advanced

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

Re: missing strcpy prototype in gethostname module


From: Bruno Haible
Subject: Re: missing strcpy prototype in gethostname module
Date: Thu, 17 Jan 2008 00:30:01 +0100
User-agent: KMail/1.5.4

Simon Josefsson wrote:
> @@ -21,6 +21,8 @@
>  
>  #ifdef HAVE_UNAME
>  # include <sys/utsname.h>
> +#else
> +# include <string.h>
>  #endif
>  
>  /* Put up to LEN chars of the host name into NAME.

While at it, you could make the patch complete: The function strncpy also
needs to be declared somewhere.

Bruno





reply via email to

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