I committed:
> --- tests/test-sys_socket.c.orig        Thu Sep 15 17:57:52 2011
> +++ tests/test-sys_socket.c     Thu Sep 15 16:06:27 2011
> @@ -30,6 +30,10 @@
>  /* Check that the 'socklen_t' type is defined.  */
>  socklen_t t1;
>  
> +/* Check that the 'size_t' and 'ssize_t' types are defined.  */
> +size_t t1;
> +ssize_t t2;
> +
>  /* Check that 'struct iovec' is defined.  */
>  struct iovec io;
>  
> 

This is obviously wrong: 't1' defined twice.


2011-09-17  Bruno Haible  <br...@clisp.org>

        sys_socket tests: Fix recent mistake.
        * tests/test-sys_socket.c (t1): Avoid collision of identifiers.

--- tests/test-sys_socket.c.orig        Sat Sep 17 17:39:10 2011
+++ tests/test-sys_socket.c     Sat Sep 17 17:37:25 2011
@@ -31,8 +31,8 @@
 socklen_t t1;
 
 /* Check that the 'size_t' and 'ssize_t' types are defined.  */
-size_t t1;
-ssize_t t2;
+size_t t2;
+ssize_t t3;
 
 /* Check that 'struct iovec' is defined.  */
 struct iovec io;
-- 
In memoriam Estella Agsteribbe <http://en.wikipedia.org/wiki/Estella_Agsteribbe>

Reply via email to