[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.54.2.6 and 1.54.2.7

version 1.54.2.6, 2001/11/14 19:16:46 version 1.54.2.7, 2002/01/11 23:39:39
Line 38 
Line 38 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
 __KERNEL_RCSID(0, "$NetBSD$");  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include "opt_compat_sunos.h"  
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/systm.h>  #include <sys/systm.h>
 #include <sys/lwp.h>  #include <sys/lwp.h>
Line 113  socreate(int dom, struct socket **aso, i
Line 111  socreate(int dom, struct socket **aso, i
                 splx(s);                  splx(s);
                 return (error);                  return (error);
         }          }
 #ifdef COMPAT_SUNOS  
         {  
                 extern struct emul emul_sunos;  
                 if (p->p_emul == &emul_sunos && type == SOCK_DGRAM)  
                         so->so_options |= SO_BROADCAST;  
         }  
 #endif  
         splx(s);          splx(s);
         *aso = so;          *aso = so;
         return (0);          return (0);

Legend:
Removed from v.1.54.2.6  
changed lines
  Added in v.1.54.2.7

CVSweb <webmaster@jp.NetBSD.org>