Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- vdr-plugin-osdteletext-0.9.0.orig/txtrecv.c
- +++ vdr-plugin-osdteletext-0.9.0/txtrecv.c
- @@ -27,7 +27,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- -const char *RootDir::root = "/var/cache/vdr/vtx";
- +const char *RootDir::root = "/var/run/vdr/vtx";
- void RootDir::setRootDir(const char *newRoot) {
- root=newRoot;
- @@ -56,8 +56,9 @@ int Storage::doCleanUp() {
- }
- closedir(top);
- } else {
- - esyslog("OSD-Teletext: Error opening teletext storage directory \"%s\": %s", root, strerror(errno));
- - }
- + if (!MakeDirs(root, 1)) {
- + esyslog("OSD-Teletext: Error creating teletext storage directory \"%s\": %s", root, strerror(errno));
- + }
- return pagesDeleted;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement