Changeset 2516 for branches/libc-0.6/src


Ignore:
Timestamp:
Feb 4, 2006, 1:26:03 PM (20 years ago)
Author:
bird
Message:

#25: Ensure correct address length returns from recvmsg and recvfrom.

Location:
branches/libc-0.6/src/emx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/ChangeLog.LIBC

    r2515 r2516  
    44
    552006-02-04: knut st. osmundsen <[email protected]>
     6
     7
    68    - libc:
    79        o #32: Fixed incorrect readdir_r return code when out of files.
  • branches/libc-0.6/src/emx/src/libsocket/recvfrom.c

    r1517 r2516  
    3030#include "libc-alias.h"
    3131#include <errno.h>
     32
    3233#include <sys/socket.h>
    3334#include <sys/fcntl.h>
     
    4748        rc = __libsocket_recvfrom(pFHSocket->iSocket, buf, len, flags, from, fromlen);
    4849        if (rc >= 0)
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
    4961            LIBCLOG_RETURN_INT(rc);
     62
    5063        __libc_TcpipUpdateErrno();
    5164    }
  • branches/libc-0.6/src/emx/src/libsocket/recvmsg.c

    r1454 r2516  
    3131#include <errno.h>
    3232#include <sys/socket.h>
     33
    3334#include <sys/fcntl.h>
    3435#include <emx/io.h>
     
    4647        rc = __libsocket_recvmsg(pFHSocket->iSocket, msg, flags);
    4748        if (rc >= 0)
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
    4868            LIBCLOG_RETURN_INT(rc);
     69
    4970        __libc_TcpipUpdateErrno();
    5071    }
Note: See TracChangeset for help on using the changeset viewer.