]> git.pld-linux.org Git - packages/aewm.git/commitdiff
- orphaned, outdated
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 21 Apr 2006 23:40:23 +0000 (23:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aewm-etc_dir.patch -> 1.2
    aewm-home_etc.patch -> 1.2

aewm-etc_dir.patch [deleted file]
aewm-home_etc.patch [deleted file]

diff --git a/aewm-etc_dir.patch b/aewm-etc_dir.patch
deleted file mode 100644 (file)
index 8a6d9d2..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Nru aewm-1.2.2/clients/lib/launch.c aewm-1.2.2.new/clients/lib/launch.c
---- aewm-1.2.2/clients/lib/launch.c    Sat Nov 23 23:41:14 2002
-+++ aewm-1.2.2.new/clients/lib/launch.c        Sat Mar 22 18:11:25 2003
-@@ -69,9 +69,13 @@
- {
-     char defrc_buf[BUF_SIZE];
-     FILE *rc;
--
-+    char *etc_dir = getenv("ETC_DIR");
-+    
-     if (rcfile && (rc = fopen(rcfile, "r"))) goto opened;
--    snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/clientsrc", getenv("HOME"));
-+    if (etc_dir)
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/aewm/clientsrc", etc_dir);
-+    else
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/clientsrc", getenv("HOME"));
-     if ((rc = fopen(defrc_buf, "r"))) goto opened;
-     if ((rc = fopen(DEF_RC, "r"))) goto opened;
-diff -Nru aewm-1.2.2/init.c aewm-1.2.2.new/init.c
---- aewm-1.2.2/init.c  Sun Nov 24 00:02:51 2002
-+++ aewm-1.2.2.new/init.c      Sat Mar 22 18:09:32 2003
-@@ -277,9 +277,13 @@
- {
-     char defrc_buf[BUF_SIZE];
-     FILE *rc;
-+      char *etc_dir = getenv("ETC_DIR");
-     if (rcfile && (rc = fopen(rcfile, "r"))) goto opened;
--    snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/aewmrc", getenv("HOME"));
-+    if (etc_dir)
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/aewm/aewmrc", etc_dir);
-+    else
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/aewmrc", getenv("HOME"));
-     if ((rc = fopen(defrc_buf, "r"))) goto opened;
-     if ((rc = fopen(DEF_RC, "r"))) goto opened;
diff --git a/aewm-home_etc.patch b/aewm-home_etc.patch
deleted file mode 100644 (file)
index 2ff3ec1..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Nru aewm-1.2.2/clients/lib/launch.c aewm-1.2.2.new/clients/lib/launch.c
---- aewm-1.2.2/clients/lib/launch.c    Sat Nov 23 23:41:14 2002
-+++ aewm-1.2.2.new/clients/lib/launch.c        Sat Mar 22 18:11:25 2003
-@@ -69,9 +69,13 @@
- {
-     char defrc_buf[BUF_SIZE];
-     FILE *rc;
--
-+    char *config_dir = getenv("CONFIG_DIR");
-+    
-     if (rcfile && (rc = fopen(rcfile, "r"))) goto opened;
--    snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/clientsrc", getenv("HOME"));
-+    if (config_dir)
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/aewm/clientsrc", config_dir);
-+    else
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/clientsrc", getenv("HOME"));
-     if ((rc = fopen(defrc_buf, "r"))) goto opened;
-     if ((rc = fopen(DEF_RC, "r"))) goto opened;
-diff -Nru aewm-1.2.2/init.c aewm-1.2.2.new/init.c
---- aewm-1.2.2/init.c  Sun Nov 24 00:02:51 2002
-+++ aewm-1.2.2.new/init.c      Sat Mar 22 18:09:32 2003
-@@ -277,9 +277,13 @@
- {
-     char defrc_buf[BUF_SIZE];
-     FILE *rc;
-+      char *config_dir = getenv("CONFIG_DIR");
-     if (rcfile && (rc = fopen(rcfile, "r"))) goto opened;
--    snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/aewmrc", getenv("HOME"));
-+    if (config_dir)
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/aewm/aewmrc", config_dir);
-+    else
-+        snprintf(defrc_buf, sizeof defrc_buf, "%s/.aewm/aewmrc", getenv("HOME"));
-     if ((rc = fopen(defrc_buf, "r"))) goto opened;
-     if ((rc = fopen(DEF_RC, "r"))) goto opened;
This page took 0.100455 seconds and 4 git commands to generate.