mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Major, major changes! Moved most of the monolithic code out of
the file descriptor hook and into the respective functions, such as dup2(), fchmod(), fchown(), fcntl(), fdatasync(), fstatfs(), fsync(), ftruncate() and lseek(). Code which is not strictly required will no longer find its way into your programs if you link with the updated library. NOTE: these changes require that the entire library is rebuilt! git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14833 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_recvmsg.c,v 1.3 2005-02-03 16:56:15 obarthel Exp $
|
||||
* $Id: socket_recvmsg.c,v 1.4 2005-02-18 18:53:16 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -79,7 +79,7 @@ recvmsg(int sockfd,struct msghdr *msg,int flags)
|
||||
assert( FLAG_IS_SET(__fd[sockfd]->fd_Flags,FDF_IN_USE) );
|
||||
assert( FLAG_IS_SET(__fd[sockfd]->fd_Flags,FDF_IS_SOCKET) );
|
||||
|
||||
fd = __get_socket_descriptor(sockfd);
|
||||
fd = __get_file_descriptor_socket(sockfd);
|
||||
if(fd == NULL)
|
||||
goto out;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user