| … | |
… | |
| 921 | /* If lstat() failed with eerror = ENOENT, then its |
921 | /* If lstat() failed with eerror = ENOENT, then its |
| 922 | * possible that we are running on an older kernel |
922 | * possible that we are running on an older kernel |
| 923 | * which had issues with returning invalid paths if |
923 | * which had issues with returning invalid paths if |
| 924 | * they got too long. |
924 | * they got too long. |
| 925 | */ |
925 | */ |
|
|
926 | errno = ENAMETOOLONG; |
| 926 | free(tmpbuf); |
927 | free(tmpbuf); |
| 927 | return NULL; |
928 | return NULL; |
| 928 | } else if (errno != 0) { |
929 | } else if (errno != 0) { |
| 929 | /* Not sure if we should quit here, but I guess if |
930 | /* Not sure if we should quit here, but I guess if |
| 930 | * lstat() fails, getcwd could have messed up. |
931 | * lstat() fails, getcwd could have messed up. |