]> git.pld-linux.org Git - packages/dc_gui.git/commitdiff
- updated for 0.71
authorpascalek <pascalek@pld-linux.org>
Wed, 19 Mar 2003 09:36:28 +0000 (09:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dc_gui-home_etc.patch -> 1.3

dc_gui-home_etc.patch

index b020b3ca58179b472bbbd3559b6d9b4e620052e1..c881a37b9c891e0351a54881e61ba3f678fb116f 100644 (file)
@@ -14,24 +14,20 @@ diff -Nur dc_gui2-0.68.orig/src/callbacks.c dc_gui2-0.68.chng/src/callbacks.c
        unlink(s->str);
        g_string_free(s,TRUE);
        fill_recent_hub_clist();
-diff -Nur dc_gui2-0.68.orig/src/main.c dc_gui2-0.68.chng/src/main.c
---- dc_gui2-0.68.orig/src/main.c       Sat Jan  4 08:25:04 2003
-+++ dc_gui2-0.68.chng/src/main.c       Wed Jan  8 13:50:39 2003
-@@ -410,9 +410,14 @@
-   textdomain (GETTEXT_PACKAGE);
- #endif
+diff -Nur dc_gui2-0.71.orig/src/main.c dc_gui2-0.71.chng/src/main.c
+--- dc_gui2-0.71.orig/src/main.c       Sun Mar  9 09:12:31 2003
++++ dc_gui2-0.71.chng/src/main.c       Wed Mar 19 09:21:11 2003
+@@ -414,7 +414,12 @@
  
--      path=getenv("HOME");
--      dctc_main_dir=g_string_new(NULL);
+       /* main dir= $HOME/.dctc */
+       dctc_main_dir=g_string_new(NULL);
 -      g_string_sprintf(dctc_main_dir,"%s/.dctc",(path!=NULL)?path:".");
-+      path = getenv("HOME");
-+      dctc_main_dir = g_string_new(NULL);
 +      if (getenv("CONFIG_DIR"))
 +              g_string_sprintf(dctc_main_dir, "%s/%s/dctc",
 +                  (path!=NULL)?path:".", getenv("CONFIG_DIR"));
 +      else
 +              g_string_sprintf(dctc_main_dir, "%s/.dctc", (path!=NULL)?path:".");
-+
++      
        if(access(dctc_main_dir->str,R_OK|W_OK|X_OK))
        {
                if(errno==ENOENT)
This page took 0.080329 seconds and 4 git commands to generate.