Hi Jonathan, I tested yout patch with CURRENT and STABLE, and it does fix the Staroffice Network-Problem too. I tested: Linux SO5.2 Linux Netscape 4.7 Linux linux-jdk1.3.0, green threads (digichat) and everythings works. So please commit this, and it should also go into STABLE before 4.3 is out. This fix is really necessary. Martin > + /* > + * Linux doesn't return EISCONN the first time it occurs, > + * when on a non-blocking socket. Instead it returns the > + * error getsockopt(SOL_SOCKET, SO_ERROR) would return on BSD. > + */ > + error = holdsock(p->p_fd, linux_args.s, &fp); > + if (error) > + return (error); > + error = EISCONN; > + if (fp->f_flag & FNONBLOCK) { > + so = (struct socket *)fp->f_data; > + if ((u_int)so->so_emuldata != 0) > + error = so->so_error; > + so->so_emuldata = (void *)1; > } > - > + fdrop(fp, p); > return (error); > } > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message