bug-gnulib
[Top][All Lists]
Advanced

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

Re: gethostname-test


From: Simon Josefsson
Subject: Re: gethostname-test
Date: Fri, 18 Jan 2008 10:08:14 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Simon,
>
>>  2008-01-17  Simon Josefsson  <address@hidden>
>>  
>> +    * modules/gethostname-tests: New file.
>> +
>> +    * tests/test-gethostname.c: New file.
>
> Thanks. A nice test. Just a fix to make it compile with "gcc -Wall":

Oops, thanks.

/Simon

>
> 2008-01-17  Bruno Haible  <address@hidden>
>
>       * tests/test-gethostname.c (main): Fix printf statement.
>
> *** tests/test-gethostname.c.orig       2008-01-18 02:12:12.000000000 +0100
> --- tests/test-gethostname.c    2008-01-18 02:11:08.000000000 +0100
> ***************
> *** 36,42 ****
>   
>     if (rc != 0)
>       {
> !       printf ("gethostname failed, rc %d errno %d\n", errno);
>         return 1;
>       }
>   
> --- 36,42 ----
>   
>     if (rc != 0)
>       {
> !       printf ("gethostname failed, rc %d errno %d\n", rc, errno);
>         return 1;
>       }
>   




reply via email to

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