* tests/test-spawn.c (main):
* tests/test-sys_socket.c (main):
* tests/test-sys_wait.c (main):
Don't have a switch value that isn't covered by a case.
2013-05-15 Paul Eggert <eggert@cs.ucla.edu>
2013-05-15 Paul Eggert <eggert@cs.ucla.edu>
+ spawn-tests, sys_socket-tests, sys_wait-tests: port to clang
+ * tests/test-spawn.c (main):
+ * tests/test-sys_socket.c (main):
+ * tests/test-sys_wait.c (main):
+ Don't have a switch value that isn't covered by a case.
+
getaddrinfo-tests: port --enable-gcc-warnings to clang
* tests/test-getaddrinfo.c (simple):
Avoid casts from looser to stricter-aligned pointers.
getaddrinfo-tests: port --enable-gcc-warnings to clang
* tests/test-getaddrinfo.c (simple):
Avoid casts from looser to stricter-aligned pointers.
+ switch (POSIX_SPAWN_RESETIDS)
{
case POSIX_SPAWN_RESETIDS:
case POSIX_SPAWN_SETPGROUP:
{
case POSIX_SPAWN_RESETIDS:
case POSIX_SPAWN_SETPGROUP:
sa_family_t i;
/* Check some errno values. */
sa_family_t i;
/* Check some errno values. */
{
case ENOTSOCK:
case EADDRINUSE:
{
case ENOTSOCK:
case EADDRINUSE:
if (test_sys_wait_macros ())
return 1;
if (test_sys_wait_macros ())
return 1;
+ switch (WCONTINUED)
+ {
/* Gnulib doesn't guarantee these, yet. */
case WCONTINUED:
case WEXITED:
case WNOWAIT:
case WSTOPPED:
/* Gnulib doesn't guarantee these, yet. */
case WCONTINUED:
case WEXITED:
case WNOWAIT:
case WSTOPPED: