bug-gnulib
[Top][All Lists]
Advanced

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

Re: gethostname-test


From: Bruno Haible
Subject: Re: gethostname-test
Date: Fri, 18 Jan 2008 02:13:46 +0100
User-agent: KMail/1.5.4

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":


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]