vdr 2.1.2 segfaults in libc using vdr --genindex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sirs,

the patch to the subject above, published on
http://www.linuxtv.org/pipermail/vdr/2013-December/028137.html
has several mistakes and is incomplete.

Here the results from the "patch" command):
root@amd8:/usr/local/src/vdr-2.1.2# patch -b --verbose ./vdr.c < vdr_c.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vdr.c       2013/12/25 11:01:28     3.6
|+++ vdr.c       2013/12/25 11:24:26
--------------------------
patching file ./vdr.c
Using Plan A...
Hunk #1 FAILED at 223.
Hunk #2 FAILED at 443.
patch unexpectedly ends in middle of line
Hunk #3 FAILED at 663.
3 out of 3 hunks FAILED -- saving rejects to file ./vdr.c.rej
done
--------------------------------
and the contents of the file vdr.c.rej:

--- vdr.c       2013/12/25 11:01:28     3.6
+++ vdr.c       2013/12/25 11:24:26
@@ -223,6 +223,7 @@
    VdrUser = VDR_USER;
  #endif

+  cVideoDirectory::SetName(VideoDirectory);
    cPluginManager PluginManager(DEFAULTPLUGINDIR);

    static struct option long_options[] = {
@@ -443,6 +444,7 @@
            case 'v': VideoDirectory = optarg;
while (optarg && *optarg && optarg[strlen(optarg) - 1] == '/')
                            optarg[strlen(optarg) - 1] = 0;
+                    cVideoDirectory::SetName(VideoDirectory);
                      break;
            case 'w': if (isnumber(optarg)) {
                         int t = atoi(optarg);
@@ -663,7 +665,6 @@

    // Directories:

-  cVideoDirectory::SetName(VideoDirectory);
    if (!ConfigDirectory)
       ConfigDirectory = DEFAULTCONFDIR;
--------------------------------
I hope that I made it right. It is the first time that I write to this mailing list. Perhaps you can correct my errors. if not, plaese let me know. Perhaps it is not a standard patch?
Greetings
G. Bruno

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux