DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern uipc_syscalls.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jul 2008 08:46:18 -0700 (PDT)

sephe       2008/07/26 08:46:18 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_12)
    sys/kern             uipc_syscalls.c 
  Log:
  MFC rev 1.89
    Bring following change from FreeBSD (yar@freebsd.org):
      uipc_syscall.c rev 1.154
  
      If connect(2) has been interrupted by a signal and therefore the
      connection is to be established asynchronously, behave as in the
      case of non-blocking mode:
  
      - keep the SS_ISCONNECTING bit set thus indicating that
        the connection establishment is in progress, which is the case
        (clearing the bit in this case was just a bug);
  
      - return EALREADY, instead of the confusing and unreasonable
        EADDRINUSE, upon further connect(2) attempts on this socket
        until the connection is established (this also brings our
        connect(2) into accord with IEEE Std 1003.1.)
  
    Tested-by: y0netan1@
    Reviewed-by: hsu@
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1079>
  
  Revision  Changes    Path
  1.84.2.2  +6 -3      src/sys/kern/uipc_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.84.2.1&r2=1.84.2.2&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]