From owner-freebsd-java Mon May 29 4:58:34 2000 Delivered-To: freebsd-java@freebsd.org Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (Postfix) with ESMTP id 6A82B37BBE9; Mon, 29 May 2000 04:58:27 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by kleopatra.acc.umu.se (8.10.1/8.10.1) with ESMTP id e4TBwNW40282; Mon, 29 May 2000 13:58:23 +0200 Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian/GNU) id NAA06598; Mon, 29 May 2000 13:58:23 +0200 Date: Mon, 29 May 2000 13:58:23 +0200 From: Markus Holmberg To: freebsd-java@freebsd.org Cc: freebsd-emulation@freebsd.org, John Rochester Subject: readLine() failing in linux-jdk1.2.2 (because of linux emulation?) Message-ID: <20000529135823.A22186@acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello.. I have problems with readLine() in a BufferedReader (in Java) failing to read input in linux-jdk1.2.2. I searched the freebsd-java and freebsd-emulation lists for similar problem reports, and found a few reports regarding the same problem. Also, John Rochester posted two patches, of which the second (the one that modifies "linux_file.c") fixes this problem (originally for 3.x, applied with a little tweaking to 4.0-STABLE May 29th). Here's the posting: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=22905+0+archive/2000/freebsd-java/20000220.freebsd-java Not being able to use readLine() gives linux-jdk1.2.2 a kind of broken feeling (for something which works great otherwise). Surely someone else must have tried to get this fixed before? This patch was apparently never submitted as a PR, so I would be glad to submit it now to get the Linux emulation fixed, but I have no idea of what the patch is doing! (Basically removing lots of stuff). So would someone mind reviewing it and see if it would be a Right Thing(tm) to get it checked into the FreeBSD CVS? Best Regards, Markus. -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message