[vdr] vdr-1.4.1: bug report and fix: ReadLink with relative targets

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Jun 19 18:10:45 CEST 2006


Patrick Cernko wrote:
> Patrick Cernko wrote:
>> Klaus Schmidinger wrote:
>>> Patrick Cernko wrote:
>>>> Hi again,
>>>>
>>>>> @Klaus: Feel free to review/reduce the code but pay attention to the
>>>>> special cases! ;-)
>>> Well, your patch looks like overkill to me ;-)
>>>
>>> What about using 'canonicalize_file_name()' instead?
>>>
>> Hmm, sorry, it seems you missed declaration and definition of
>> canonicalize_file_name or is it a (system) function my sarge system
>> doesn't know of (in that case, which header file do I have to include)?
>>
> 
> Intresting I do not find any documentation for canonicalize_file_name
> beside the small comment in stdlib.h ! This seems to be the smartest
> solution. I agree fully with you.

The function is documented in "The GNU C Library Reference Manual".
Works just fine here.

Klaus




More information about the vdr mailing list