graveman-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Graveman-cvs] Changes to graveman/current/src/config.c


From: sylvain cresto
Subject: [Graveman-cvs] Changes to graveman/current/src/config.c
Date: Thu, 14 Apr 2005 17:56:32 -0400

Index: graveman/current/src/config.c
diff -u graveman/current/src/config.c:1.31 graveman/current/src/config.c:1.32
--- graveman/current/src/config.c:1.31  Thu Apr 14 21:45:32 2005
+++ graveman/current/src/config.c       Thu Apr 14 21:56:32 2005
@@ -173,7 +173,7 @@
   FILE *Lfic;
   gchar *Ltmp;
   if (!get_config_file(W_OK)) return FALSE;
-
+g_warning("le conf => %s\n", Gfileconf);
   if (!(Lfic=fopen(Gfileconf, "w"))) {
     Ltmp = g_strdup_printf(_("Cannot create %s: %s"), Gfileconf, 
g_strerror(errno));
     g_set_error(Aerror, G_FILE_ERROR, g_file_error_from_errno(errno), Ltmp, 
g_strerror(errno)); 
@@ -231,7 +231,7 @@
 
   /* parametre -c sur la ligne de commande */
   if ((Lpath = param_get_string("config_file"))) {
-    Llistpath = g_strsplit(Lenv, ":", 0);
+    Llistpath = g_strsplit(Lpath, ":", 0);
 
     for (i=0; Llistpath[i]; i++) {
       if (!*Llistpath[i]) continue; /* on ignore les entrees vides */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]