-
Ondrej Holy authored
Currently, readlink() is used only 12 times when expanding symlinks. However, kernel uses 40 for this purpose and it is defined as MAXSYMLINKS. Use that constant if available, or 40. See: https://github.com/torvalds/linux/include/linux/namei.h.
a56b9cc6