Hi Simon,
> 2008-01-17 Simon Josefsson <[EMAIL PROTECTED]>
>
> + * 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":
2008-01-17 Bruno Haible <[EMAIL PROTECTED]>
* 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;
}