diff options
| author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-02-11 18:41:21 +0100 |
|---|---|---|
| committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-02-11 18:41:21 +0100 |
| commit | 7e6783766dc0b3c37df93a0b72bb288375ab44f6 (patch) | |
| tree | d2b29e45b1874aa2b6a5c18c47711c35fcc11183 | |
| parent | d799a7bab1108d4a7b2fff21eb3d6ba108248f24 (diff) | |
| download | vdr-plugin-epgsearch-7e6783766dc0b3c37df93a0b72bb288375ab44f6.tar.gz vdr-plugin-epgsearch-7e6783766dc0b3c37df93a0b72bb288375ab44f6.tar.bz2 | |
fixed a problem with pipes in the pattern of blacklist, thanks to Andreas Mair for reporting
| -rw-r--r-- | HISTORY | 2 | ||||
| -rw-r--r-- | HISTORY.DE | 2 | ||||
| -rw-r--r-- | blacklist.c | 12 | ||||
| -rwxr-xr-x | scripts/timercmds-auxinfo.sh | 2 |
4 files changed, 9 insertions, 9 deletions
@@ -52,6 +52,8 @@ fixes: to spockele@vdrportal for reporting - fixed some compiler warnings with g++ 4.3 - fine-tuning fuzzy matching of descriptions, thanks to Alf Fahland for providing a patch +- fixed a problem with pipes in the pattern of blacklists, thanks to Andreas Mair for + reporting. 2007-09-02: Version 0.9.23 @@ -60,6 +60,8 @@ fixes: - einige Compilerwarnungen von g++ 4.3 behoben - fine-tuning beim fuzzy-Vergleich von Inhaltsangaben, Danke an Alf Fahland für einen Patch +- Problem mit Pipes im Suchbegriff einer Blacklist behoben, Danke anAndreas Mair für + den Hinweis. 2007-09-02: Version 0.9.23 diff --git a/blacklist.c b/blacklist.c index aff3211..6f23aef 100644 --- a/blacklist.c +++ b/blacklist.c @@ -175,14 +175,10 @@ const char *cBlacklist::ToText(void) char* tmp_catvalues = NULL; free(buffer); - if (mode < 4 || mode == 5) // not a regular expression - asprintf(&tmp_search, "%s", search); - else if (mode ==4) - { - tmp_search = strdup(search); - while(strstr(tmp_search, "|")) - tmp_search = strreplace(tmp_search, "|", "!^pipe^!"); // ugly: replace with something, that should not happen to be part of a regular expression - } + tmp_search = strdup(search); + while(strstr(tmp_search, "|")) + tmp_search = strreplace(tmp_search, "|", "!^pipe^!"); // ugly: replace a pipe with something, that should not happen to be part of a regular expression + strreplace(tmp_search, ':', '|'); if (useTime) diff --git a/scripts/timercmds-auxinfo.sh b/scripts/timercmds-auxinfo.sh index 0a89a6a..94dcc62 100755 --- a/scripts/timercmds-auxinfo.sh +++ b/scripts/timercmds-auxinfo.sh @@ -15,7 +15,7 @@ #<Configuration> # Your timers.conf -TIMERS="/etc/vdr.conf/timers.conf" +TIMERS="/video/timers.conf" #</Configuration> |
