Author: gotar                        Date: Sun Dec 21 13:07:31 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated ETC_DIR to HOME_ETC

---- Files affected:
SOURCES:
   gammu-etc_dir.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/gammu-etc_dir.patch
diff -u SOURCES/gammu-etc_dir.patch:1.3 SOURCES/gammu-etc_dir.patch:1.4
--- SOURCES/gammu-etc_dir.patch:1.3     Sun Dec 21 14:02:52 2008
+++ SOURCES/gammu-etc_dir.patch Sun Dec 21 14:07:26 2008
@@ -4,7 +4,7 @@
  {
        char configfile[PATH_MAX + 1];
        char *envpath;
-+      char *etc_dir;
++      char *home_etc;
        GSM_Error error;
  
        *result = NULL;
@@ -13,9 +13,9 @@
        configfile[0] = 0;
  
 +      /* Try user etc dir */
-+      etc_dir = getenv("ETC_DIR");
-+      if (etc_dir) {
-+              strcat(configfile, etc_dir);
++      home_etc = getenv("HOME_ETC");
++      if (home_etc) {
++              strcat(configfile, home_etc);
 +              strcat(configfile, GAMMURC_NAME);
 +
 +              error = GSM_TryReadGammuRC(configfile, result);
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/gammu-etc_dir.patch?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to