c412765afe
The daemon is now configured in /etc/lirc/lirc_options.conf and remotes in individual files in /etc/lirc/lircd.conf.d/
23 lines
741 B
Diff
23 lines
741 B
Diff
commit b7758ca235bb5d8bbeca7ea45d304545d757b957
|
|
Author: Alec Leamas <leamas.alec@gmail.com>
|
|
Date: Thu Jan 15 02:01:57 2015 +0100
|
|
|
|
lib: Bad bugfix for finding ~/.lircrc
|
|
|
|
Basically, the common library code did not find ~/.lircrc, just
|
|
~/.config/lircrc. Fixed.
|
|
|
|
diff --git a/lib/lirc_client.c b/lib/lirc_client.c
|
|
index b161f0e..0f31fa8 100644
|
|
--- a/lib/lirc_client.c
|
|
+++ b/lib/lirc_client.c
|
|
@@ -805,7 +805,7 @@ static char *lirc_getfilename(const char *file, const char *current_file)
|
|
if (filename == NULL) {
|
|
return NULL;
|
|
}
|
|
- strcat(filename, LIRCRC_USER_FILE);
|
|
+ strcat(filename, "/" LIRCRC_USER_FILE);
|
|
}
|
|
filename = realloc(filename, strlen(filename) + 1);
|
|
} else if (strncmp(file, "~/", 2) == 0) {
|