/[gentoo-x86]/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch
Gentoo

Contents of /net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Jul 31 18:20:59 2011 UTC (9 years, 4 months ago) by tommy
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump, partly based on ebuilds by Dennis Schridde, fixes bug 376971

(Portage version: 2.2.0_alpha47-r1/cvs/Linux x86_64)

1 --- core/java/src/net/i2p/util/NativeBigInteger.java.orig 2011-07-29 13:14:05.000000000 +0200
2 +++ core/java/src/net/i2p/util/NativeBigInteger.java 2011-07-29 13:15:16.000000000 +0200
3 @@ -481,14 +481,12 @@
4
5 /** @since 0.8.7 */
6 private static void debug(String s) {
7 - I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).debug(s);
8 + System.err.println("DEBUG: " + s);
9 }
10
11
12 private static void info(String s) {
13 - if(_doLog)
14 - System.err.println("INFO: " + s);
15 - I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).info(s);
16 + System.err.println("INFO: " + s);
17 _loadStatus = s;
18 }
19
20 @@ -496,12 +496,9 @@
21
22 /** @since 0.8.7 */
23 private static void warn(String s, Throwable t) {
24 - if(_doLog) {
25 - System.err.println("WARNING: " + s);
26 - if (t != null)
27 - t.printStackTrace();
28 - }
29 - I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).warn(s, t);
30 + System.err.println("WARNING: " + s);
31 + if (t != null)
32 + t.printStackTrace();
33 if (t != null)
34 _loadStatus = s + ' ' + t;
35 else

  ViewVC Help
Powered by ViewVC 1.1.20