Re: [cp-patches] ensure LOCALHOST is used when localhost name is unsuable

2006-01-01 Thread Mark Wielaard
Hi Raif, On Tue, 2005-12-27 at 10:19 +1100, Raif S. Naffah wrote: pls. find attached a patch to do the above. sometimes, the parameter localhost (to the InetAddress.getAllByName(String) method) is an empty string which causes an UnknownHostException to be thrown. the patch ensures that

Re: [cp-patches] RFC: java.net.InetAddress.toString() returns wrong address

2006-01-01 Thread Mark Wielaard
Hi Christian, On Thu, 2005-12-29 at 19:37 +0100, Christian Thalinger wrote: While checking some FAILs in tgolem i stumbled across this common fail: FAIL: gnu.testlet.java.net.InetSocketAddress.InetSocketAddressTest: Error : test_Constructors failed - 1 No wildcard address returned (number

Re: [cp-patches] [patch] bump Qt version check to 4.1

2006-01-01 Thread Mark Wielaard
Hi Andreas, On Sun, 2005-12-25 at 23:02 +0100, Andreas Tobler wrote: this patch lets us build classpath with Qt-4.1.0 again, released a few days ago. The problem is the reorganization of the Qt include directory which changed from include to include/module, means in our case, include/QtGui

Re: [cp-patches] [patch] fix Qt-4.1 build

2006-01-01 Thread Mark Wielaard
Hi Andreas, On Sun, 2005-12-25 at 23:05 +0100, Andreas Tobler wrote: this patch lets us run qt based peers again. The problem is that the function we used to disable double buffering has gone in qt-4.1. It is still documented in the qt manual but marked as to be fixed for qt-4.1.1. As I

Re: [cp-patches] KerberosPrincipal - Try number two

2006-01-01 Thread Mark Wielaard
Hi Jeff, On Mon, 2005-12-26 at 19:24 -0500, Jeff Bailey wrote: There are still several FIXMEs in the code, but I don't think any of them are barriers to adding the class to CVS. Most of them are details that will be sorted out as the rest of the implementation is done and it's possible to

Re: [cp-patches] Patch: remove bogus ServerSocket security check

2006-01-01 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark It is clear the current check is wrong since we check on the SocketImpl Mark of the ServerSocket and not the Socket that accept would return. But Mark wouldn't the correct security check just be to move this check just Mark after

[cp-patches] RFC: checking for socklen_t

2006-01-01 Thread Christian Thalinger
Hi! I tried to compile classpath on a quite old system: $ uname -a OSF1 mips.complang.tuwien.ac.at V4.0 878 alpha And on this system socklen_t isn't defined. This macro taken from http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html checks for socklen_t and define it to

Re: [cp-patches] RFC: checking for socklen_t

2006-01-01 Thread Tom Tromey
Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti And on this system socklen_t isn't defined. This macro taken from Twisti http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html I assume we can use macros from here in Classpath. Twisti 2006-01-01 Christian

Re: [cp-patches] RFC: checking for socklen_t

2006-01-01 Thread Mark Wielaard
On Sun, 2006-01-01 at 15:24 -0700, Tom Tromey wrote: Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti And on this system socklen_t isn't defined. This macro taken from Twisti http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html I assume we can use macros

Re: [cp-patches] RFC: checking for socklen_t

2006-01-01 Thread Christian Thalinger
On Sun, 2006-01-01 at 15:24 -0700, Tom Tromey wrote: Twisti + if test $ac_cv_type_socklen_t != yes; then Twisti +AC_DEFINE(socklen_t, int, [Substitute for socklen_t]) Twisti + fi Kind of a bogus approach (better to use a real typedef), but whatever. That's true, yes. I'll commit it

Re: [cp-patches] RFC: checking for socklen_t

2006-01-01 Thread Andreas Tobler
Christian Thalinger wrote: Hi! I tried to compile classpath on a quite old system: $ uname -a OSF1 mips.complang.tuwien.ac.at V4.0 878 alpha And on this system socklen_t isn't defined. This macro taken from http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html checks for

Re: [cp-patches] ensure LOCALHOST is used when localhost name is unsuable

2006-01-01 Thread Raif S. Naffah
hello Mark, On Monday 02 January 2006 00:50, Mark Wielaard wrote: Hi Raif, On Tue, 2005-12-27 at 10:19 +1100, Raif S. Naffah wrote: pls. find attached a patch to do the above. sometimes, the parameter localhost (to the InetAddress.getAllByName(String) method) is an empty string which

Re: [cp-patches] ensure names are trimmed

2006-01-01 Thread Raif S. Naffah
hello Mark, On Monday 02 January 2006 01:02, Mark Wielaard wrote: Hi Raif, On Tue, 2005-12-27 at 11:31 +1100, Raif S. Naffah wrote: pls. find attached a patch for security related classes. the patch ensures that names of provider, service and (message digest) algorithm are trimmed