packages: snownews/snownews-home_etc.patch - two more paths
adamg
adamg at pld-linux.org
Fri Feb 12 00:18:31 CET 2010
Author: adamg Date: Thu Feb 11 23:18:30 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- two more paths
---- Files affected:
packages/snownews:
snownews-home_etc.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/snownews/snownews-home_etc.patch
diff -u packages/snownews/snownews-home_etc.patch:1.4 packages/snownews/snownews-home_etc.patch:1.5
--- packages/snownews/snownews-home_etc.patch:1.4 Fri Feb 12 00:11:18 2010
+++ packages/snownews/snownews-home_etc.patch Fri Feb 12 00:18:23 2010
@@ -156,6 +156,15 @@
system (syscall);
}
}
+@@ -407,7 +407,7 @@
+ }
+ }
+
+- snprintf (file, sizeof(file), "%s/.snownews/urls.new", getenv("HOME"));
++ snprintf (file, sizeof(file), "%s/.snownews/urls.new", set_config_dir());
+ configfile = fopen (file, "w+");
+ if (configfile == NULL) {
+ MainQuit (_("Save settings (urls)"), strerror(errno));
@@ -460,7 +461,7 @@
* Write cache.
*/
@@ -165,6 +174,15 @@
free (hashme);
cache = fopen (file, "w+");
+@@ -551,7 +551,7 @@
+ }
+ fclose (configfile);
+
+- snprintf (syscall, sizeof(file), "mv -f %s/.snownews/urls.new %s/.snownews/urls", getenv("HOME"), getenv("HOME"));
++ snprintf (syscall, sizeof(file), "mv -f %s/.snownews/urls.new %s/.snownews/urls", set_config_dir(), set_config_dir());
+ system (syscall);
+
+ return;
diff -Naur snownews-1.5.10.original/setup.c snownews-1.5.10/setup.c
--- snownews-1.5.10.original/setup.c 2008-07-28 11:26:16.000000000 +0200
+++ snownews-1.5.10/setup.c 2008-09-04 11:42:12.000000000 +0200
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/snownews/snownews-home_etc.patch?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list