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

Bug#314350: libc6: sysconf(_SC_HOST_NAME_MAX) always returns -1



tags 314350 fixed-upstream
thanks

At Wed, 15 Jun 2005 23:10:51 +0100,
Roger Leigh wrote:
> Sorry, I meant to attach a testcase to the original report:
> 
> #include <stdio.h>
> #include <unistd.h>
> 
> int main (void)
> {
>   long hn = sysconf(_SC_HOST_NAME_MAX);
>   printf("Hostname max length: %ld\n", hn);
>   return 0;
> }

It'll be fixed in the next glibc upload for unstable.

Regards,
-- gotom



Reply to: