kov changed libgksu/branches/libgksu2/libgksu/ChangeLog,
libgksu/branches/libgksu2/libgksu/libgksu.c
Gustavo Noronha
kov at costa.debian.org
Sun Apr 23 15:16:02 UTC 2006
Mensagem de log:
init sn_context with NULL, so non-SN-supporting users will
not segfault when we check for the value
-----
Modified: libgksu/branches/libgksu2/libgksu/ChangeLog
===================================================================
--- libgksu/branches/libgksu2/libgksu/ChangeLog 2006-04-23 15:05:48 UTC (rev 551)
+++ libgksu/branches/libgksu2/libgksu/ChangeLog 2006-04-23 15:16:02 UTC (rev 552)
@@ -1,5 +1,9 @@
2006-04-23 Gustavo Noronha Silva <kov at debian.org>
+ * libgksu.c:
+ - init sn_context with NULL, so non-SN-supporting users will
+ not segfault when we check for the value
+
* libgksu.{c,h}:
- new API gksu_run{,_full}, that is a generic way of using
gksu functionality, leaving the choice of su or sudo backend
Modified: libgksu/branches/libgksu2/libgksu/libgksu.c
===================================================================
--- libgksu/branches/libgksu2/libgksu/libgksu.c 2006-04-23 15:05:48 UTC (rev 551)
+++ libgksu/branches/libgksu2/libgksu/libgksu.c 2006-04-23 15:16:02 UTC (rev 552)
@@ -899,6 +899,8 @@
context->debug = FALSE;
+ context->sn_context = NULL;
+
get_configuration_options (context);
return context;
More information about the gksu-commits
mailing list