Wolfgang Rohdewald wrote: > On Samstag, 23. Juni 2007, Anssi Hannula wrote: > >> I don't really use VDR 1.5 yet, but I tried to run the attached test >> program. However, it segfaults in *p = 0. I also tested the previous >> implementation quoted above, and it segfaults similarly. > > you try to write into a constant string. > > This would work: > > char *s; > s=strdup("DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique"); > Right. It works correctly. -- Anssi Hannula _______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr