From owner-freebsd-java Tue Sep 4 16:31:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 0627B37B405 for ; Tue, 4 Sep 2001 16:31:26 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 15ePf6-0003b1-00; Tue, 04 Sep 2001 16:31:20 -0700 Date: Tue, 4 Sep 2001 16:31:19 -0700 To: Mikhail Kruk Cc: Fuyuhiko Maruyama , freebsd-java@FreeBSD.ORG Subject: Re: (j2sdk1.3.1) AWT improvement Message-ID: <20010904163119.A13798@gnuppy> References: <554rqj7ye1.wl@tripper.private> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.20i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 04, 2001 at 07:22:06PM -0400, Mikhail Kruk wrote: > It definitely works better! Thanks! > Is there a patch for the connect (56) problem? Look in this file: ../src/solaris/hpi/green_threads/src/iomgr.c Find the connect() definition and make that the block with ioctl() is used over the second connect() attempt. That's all. ;-) Or maybe try this patch from the CVS ? bill --3MwIy2ne0vdjdPXF Content-Type: application/x-troff Content-Disposition: attachment; filename=t Index: javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c =================================================================== RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/src/solaris/hpi/green_threads/src/iomgr.c,v retrieving revision 1.2 retrieving revision 1.3 diff -r1.2 -r1.3 701a702,724 > #if defined(__FreeBSD__) > #if defined(__i386__) > #define ASM __asm__ volatile > #define WRAPFUNC(FUNC) \ > do { \ > ASM(".globl _" #FUNC); \ > ASM(" .type _" #FUNC ",@function"); \ > ASM("_" #FUNC ":"); \ > ASM("jmp " #FUNC); \ > } while (0) > > static void __dummy() { > WRAPFUNC(open); > WRAPFUNC(close); > WRAPFUNC(read); > WRAPFUNC(write); > WRAPFUNC(fcntl); > __dummy(); > } > #else > #error "Unsupported architecture." > #endif > #endif 769c792,793 < else --- > else { > sysAssert(fd_flags[fd] == 0); 770a795 > } 2431c2456 < #if defined(__solaris__) --- > #if defined(__solaris__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) 2448,2452c2473,2477 < if (errno == ENOTCONN) { < errno = ECONNREFUSED; < } < /* see comment above */ < break; --- > if (errno == ENOTCONN) { > errno = ECONNREFUSED; > } > /* see comment above */ > break; --3MwIy2ne0vdjdPXF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message