Hey,
This patch fixes the GConf-Critical Bug of the Yahoo! Finance Stock
Screener application (Bugzilla Bug #203674).
Could someone kindly comment on/approve this patch? It's a minor
change, but it's a native file. So, I didn't really feel comfortable
just committing it.
Thanks,
Tania
2006-09-21 Tania Bento <[EMAIL PROTECTED]>
* native/jni/gconf-peer/GConfNativePeer.c
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
Changed the condition of the if-clause.
Index: native/jni/gconf-peer/GConfNativePeer.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/gconf-peer/GConfNativePeer.c,v
retrieving revision 1.7
diff -u -r1.7 GConfNativePeer.c
--- native/jni/gconf-peer/GConfNativePeer.c 4 Aug 2006 10:14:15 -0000 1.7
+++ native/jni/gconf-peer/GConfNativePeer.c 21 Sep 2006 18:06:59 -0000
@@ -466,7 +466,7 @@
const char *dir = NULL;
dir = JCL_jstring_to_cstring (env, node);
- if (dir == NULL)
+ if (dir != NULL)
return;
/* ignore errors */