1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

sunrpc: Fix spurious fall-through

This commit is contained in:
Andreas Schwab
2010-05-21 11:52:20 -07:00
committed by Ulrich Drepper
parent 5b08ac571f
commit f0ccf6ea41
4 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2010-05-21 Andreas Schwab <schwab@redhat.com>
* sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
* sunrpc/clnt_udp.c (clntudp_control): Likewise.
* sunrpc/clnt_unix.c (clntunix_control): Likewise.
2010-05-20 Andreas Schwab <schwab@redhat.com> 2010-05-20 Andreas Schwab <schwab@redhat.com>
* sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH. * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.

View File

@@ -399,6 +399,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
/* This will set the xid of the NEXT call */ /* This will set the xid of the NEXT call */
*(u_long *)ct->ct_mcall = htonl (*(u_long *)info - 1); *(u_long *)ct->ct_mcall = htonl (*(u_long *)info - 1);
/* decrement by 1 as clnttcp_call() increments once */ /* decrement by 1 as clnttcp_call() increments once */
break;
case CLGET_VERS: case CLGET_VERS:
/* /*
* This RELIES on the information that, in the call body, * This RELIES on the information that, in the call body,

View File

@@ -582,6 +582,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
/* This will set the xid of the NEXT call */ /* This will set the xid of the NEXT call */
*(u_long *)cu->cu_outbuf = htonl(*(u_long *)info - 1); *(u_long *)cu->cu_outbuf = htonl(*(u_long *)info - 1);
/* decrement by 1 as clntudp_call() increments once */ /* decrement by 1 as clntudp_call() increments once */
break;
case CLGET_VERS: case CLGET_VERS:
/* /*
* This RELIES on the information that, in the call body, * This RELIES on the information that, in the call body,

View File

@@ -376,6 +376,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
/* This will set the xid of the NEXT call */ /* This will set the xid of the NEXT call */
*(u_long *) ct->ct_mcall = htonl (*(u_long *)info - 1); *(u_long *) ct->ct_mcall = htonl (*(u_long *)info - 1);
/* decrement by 1 as clntunix_call() increments once */ /* decrement by 1 as clntunix_call() increments once */
break;
case CLGET_VERS: case CLGET_VERS:
/* /*
* This RELIES on the information that, in the call body, * This RELIES on the information that, in the call body,