Re: vdr 2.1.2 segfaults in libc using vdr --genindex

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

 



Am 02.12.2013, 17:59 Uhr, schrieb Klaus Schmidinger <Klaus.Schmidinger@xxxxxxx>:


I guess this was caused by the changes to videodir.[ch].
For a quick fix you could try moving the line

   cVideoDirectory::SetName(VideoDirectory);

into the

           case 'v': VideoDirectory = optarg;
while (optarg && *optarg && optarg[strlen(optarg) - 1] == '/')
                           optarg[strlen(optarg) - 1] = 0;
cVideoDirectory::SetName(VideoDirectory); // <----- here!
                     break;

in vdr.c

Oh, and use the option '-v'...
This is just a quick hack - I'll need to give this more thought.

Klaus

Thanks Klaus, this fixes things temporarily, but I agree it's annoying to set --video as well. Especially since you also have to remember setting --video first, THEN call --genindex. If you have it the wrong way around, it will segfault again ...

But it's okay to work with.

Lou

_______________________________________________
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