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