From 7e921e805e6ac45614b392840206979535ef4175 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 21 Apr 2006 23:40:28 +0000 Subject: [PATCH] - orphaned, outdated Changed files: bluez-utils-home_etc.patch -> 1.2 --- bluez-utils-home_etc.patch | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 bluez-utils-home_etc.patch diff --git a/bluez-utils-home_etc.patch b/bluez-utils-home_etc.patch deleted file mode 100644 index f34761f..0000000 --- a/bluez-utils-home_etc.patch +++ /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 *config_dir = getenv("CONFIG_DIR"); -+ if (config_dir) -+ snprintf(file, MAXPATHLEN, "%s/bluetooth/rfcomm.conf", config_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"); -- 2.44.0