]> git.pld-linux.org Git - packages/bluez-utils.git/blobdiff - bluez-utils-etc_dir.patch
- obsolete
[packages/bluez-utils.git] / bluez-utils-etc_dir.patch
diff --git a/bluez-utils-etc_dir.patch b/bluez-utils-etc_dir.patch
deleted file mode 100644 (file)
index e7234a5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -Nru bluez-utils-2.2/rfcomm/parser.y bluez-utils-2.2.new/rfcomm/parser.y
---- bluez-utils-2.2/rfcomm/parser.y    Thu Oct 31 10:09:48 2002
-+++ bluez-utils-2.2.new/rfcomm/parser.y        Sun Mar 23 18:18:14 2003
-@@ -147,7 +147,11 @@
-       if (filename) {
-               snprintf(file, MAXPATHLEN,  "%s", filename);
-       } else {
--              snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", getenv("HOME"));
-+              char *etc_dir = getenv("HOME_ETC");
-+              if (etc_dir)
-+                      snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", etc_dir);
-+              else
-+                      snprintf(file, MAXPATHLEN, "%s/.bluetooth/rfcomm.conf", getenv("HOME"));
-               if ((getuid() == 0) || (access(file, R_OK) < 0))
-                       snprintf(file, MAXPATHLEN, "/etc/bluetooth/rfcomm.conf");
This page took 0.077551 seconds and 4 git commands to generate.