[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.28 and 1.28.4.1

version 1.28, 1997/06/24 20:04:45 version 1.28.4.1, 1997/08/28 00:12:14
Line 350  sosend(so, addr, uio, top, control, flag
Line 350  sosend(so, addr, uio, top, control, flag
          * of space and resid.  On the other hand, a negative resid           * of space and resid.  On the other hand, a negative resid
          * causes us to loop sending 0-length segments to the protocol.           * causes us to loop sending 0-length segments to the protocol.
          */           */
         if (resid < 0)          if (resid < 0) {
                 return (EINVAL);                  error = EINVAL;
                   goto out;
           }
         dontroute =          dontroute =
             (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&              (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&
             (so->so_proto->pr_flags & PR_ATOMIC);              (so->so_proto->pr_flags & PR_ATOMIC);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.28.4.1

CVSweb <webmaster@jp.NetBSD.org>