From 3677cadcca096992025f990af6060f4c94b187f1 Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 31 May 2011 20:21:51 +0000 Subject: [PATCH] * jbigi: Add support for solaris --- core/java/src/net/i2p/util/NativeBigInteger.java | 3 +++ history.txt | 1 + router/java/src/net/i2p/router/RouterVersion.java | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/java/src/net/i2p/util/NativeBigInteger.java b/core/java/src/net/i2p/util/NativeBigInteger.java index c16af4076a..57517aec47 100644 --- a/core/java/src/net/i2p/util/NativeBigInteger.java +++ b/core/java/src/net/i2p/util/NativeBigInteger.java @@ -137,6 +137,7 @@ public class NativeBigInteger extends BigInteger { private static final boolean _isMac = System.getProperty("os.name").startsWith("Mac"); private static final boolean _isLinux = System.getProperty("os.name").toLowerCase().contains("linux"); private static final boolean _isFreebsd = System.getProperty("os.name").toLowerCase().contains("freebsd"); + private static final boolean _isSunos = System.getProperty("os.name").toLowerCase().contains("sunos"); /* * This isn't always correct. @@ -672,6 +673,8 @@ public class NativeBigInteger extends BigInteger { return "jbigi-osx-"; if(_isOS2) return "jbigi-os2-"; + if(_isSunos) + return "jbigi-solaris-"; //throw new RuntimeException("Dont know jbigi library name for os type '"+System.getProperty("os.name")+"'"); // use linux as the default, don't throw exception return "jbigi-linux-"; diff --git a/history.txt b/history.txt index 7fb305e85b..ff20d07b1f 100644 --- a/history.txt +++ b/history.txt @@ -1,5 +1,6 @@ 2011-05-31 zzz * HTTP Proxy: Don't send redirect for POST (thx kytv) + * jbigi: Add support for solaris 2011-05-30 zzz * I2CP: diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index 7f4edb9752..31c35f8c3e 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Monotone"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 13; + public final static long BUILD = 14; /** for example "-test" */ public final static String EXTRA = "";