* msg.cc (client_request_msg::serve): Add default case to msgop switch.

* sem.cc (client_request_sem::serve): Add default case to semop switch.
	* shm.cc (client_request_shm::serve): Add default case to shmop switch.
This commit is contained in:
Corinna Vinschen 2003-11-22 22:37:13 +00:00
parent 876083f32e
commit c026d84209
4 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-11-22 Corinna Vinschen <corinna@vinschen.de>
* msg.cc (client_request_msg::serve): Add default case to msgop switch.
* sem.cc (client_request_sem::serve): Add default case to semop switch.
* shm.cc (client_request_shm::serve): Add default case to shmop switch.
2003-11-21 Corinna Vinschen <corinna@vinschen.de> 2003-11-21 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (install): Explicitely create directories. Install * Makefile.in (install): Explicitely create directories. Install

View File

@ -95,6 +95,10 @@ client_request_msg::serve (transport_layer_base *const conn,
case MSGOP_msgsnd: case MSGOP_msgsnd:
res = msgsnd (&td, &_parameters.in.sndargs); res = msgsnd (&td, &_parameters.in.sndargs);
break; break;
default:
res = ENOSYS;
td.td_retval[0] = -1;
break;
} }
/* Allocated by the call to adjust_identity_info(). */ /* Allocated by the call to adjust_identity_info(). */
if (_parameters.in.ipcblk.gidlist) if (_parameters.in.ipcblk.gidlist)

View File

@ -89,6 +89,10 @@ client_request_sem::serve (transport_layer_base *const conn,
case SEMOP_semop: case SEMOP_semop:
res = semop (&td, &_parameters.in.opargs); res = semop (&td, &_parameters.in.opargs);
break; break;
default:
res = ENOSYS;
td.td_retval[0] = -1;
break;
} }
/* Allocated by the call to adjust_identity_info(). */ /* Allocated by the call to adjust_identity_info(). */
if (_parameters.in.ipcblk.gidlist) if (_parameters.in.ipcblk.gidlist)

View File

@ -101,6 +101,10 @@ client_request_shm::serve (transport_layer_base *const conn,
case SHMOP_shmfork: case SHMOP_shmfork:
res = cygwin_shmfork_myhook (&td, &_parameters.in.forkargs); res = cygwin_shmfork_myhook (&td, &_parameters.in.forkargs);
break; break;
default:
res = ENOSYS;
td.td_retval[0] = -1;
break;
} }
/* Allocated by the call to adjust_identity_info(). */ /* Allocated by the call to adjust_identity_info(). */
if (_parameters.in.ipcblk.gidlist) if (_parameters.in.ipcblk.gidlist)