Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68133 Details for
Bug 105510
version bump: dev-java/jdbc3-postgresql-8.0_p312 driver (with a workaround bugfix for jdk1.5 by me)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
jdk1.5_socket_workaround.patch -- the patch file
jdk1.5_socket_workaround.patch (text/plain), 1011 bytes, created by
Csaba Tóth
on 2005-09-10 11:20:29 UTC
(
hide
)
Description:
jdk1.5_socket_workaround.patch -- the patch file
Filename:
MIME Type:
Creator:
Csaba Tóth
Created:
2005-09-10 11:20:29 UTC
Size:
1011 bytes
patch
obsolete
>diff -ur postgresql-jdbc-8.0-312.src.orig/org/postgresql/core/PGStream.java postgresql-jdbc-8.0-312.src/org/postgresql/core/PGStream.java >--- postgresql-jdbc-8.0-312.src.orig/org/postgresql/core/PGStream.java 2005-01-11 09:25:43.000000000 +0100 >+++ postgresql-jdbc-8.0-312.src/org/postgresql/core/PGStream.java 2005-09-10 19:39:49.000000000 +0200 >@@ -18,6 +18,8 @@ > import java.io.EOFException; > import java.io.Writer; > import java.net.Socket; >+import java.net.Proxy; >+import java.net.InetSocketAddress; > import java.sql.*; > > import org.postgresql.util.GT; >@@ -55,7 +57,12 @@ > this.host = host; > this.port = port; > >- changeSocket(new Socket(host, port)); >+ Socket socket = null; >+ socket = new Socket(Proxy.NO_PROXY); >+ >+ InetSocketAddress socketAddress = new InetSocketAddress(host, port); >+ socket.connect(socketAddress, 120000); >+ changeSocket(socket); > setEncoding(Encoding.getJVMEncoding("US-ASCII")); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 105510
:
68132
| 68133