Ich habe diese Änderung rückgängig gemacht.
Ja, damit sieht es wieder so aus wie bisher.
OK. Ich habe die Änderung für die 1.7.24 wieder rückgängig gemacht.
Der Patch stammte von sundararaj.reel@googlemail.com und hat auf mich eigentlich plausibel gewirkt:
Zitat von sundararaj.reelAlles anzeigen
In recording.c:1108, stat() is used to get the file status. But a
couple of lines later, S_ISLNK() is used to check if the file is a
symbolic link which is always false.
Shouldn't lstat() be used in line 1108 instead of stat() when testing for links?
From http://linux.die.net/man/2/stat
stat() stats the file pointed to by path and fills in buf.
lstat() is identical to stat(), except that if path is a symbolic
link, then the link itself is stat-ed, not the file that it refers to.
To reproduce the error: make paths in recordings directory with 6 or
more links in it. Vdr traverses this path even when MAX_LINK_LEVEL
should forbid it.
Klaus