|
From: | Paul Eggert |
Subject: | Re: an old fstatat bug |
Date: | Thu, 13 May 2021 12:36:34 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
+This function does not fail when the second argument is an empty string +on some platforms: +glibc 2.7.
If AT_EMPTY_PATH is specified, fstatat is documented to behave that way with an empty string. So possibly this behavior is also kernel-dependent (AT_EMPTY_PATH was introduced in Linux 2.6.39, maybe the kernels are buggy before that?). Not sure whether this is all worth mentioning.
[Prev in Thread] | Current Thread | [Next in Thread] |