diff options
author | Joe Lowe <joe@pismotec.com> | 2017-06-13 11:12:50 -0700 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-06-14 10:57:02 +0200 |
commit | 0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e (patch) | |
tree | 3dd39e213dda7b95e28a4766e194a7f596c6285e /newlib/libc | |
parent | 35cd6863fb3a970507b5eaf587eda59abcefb241 (diff) | |
download | cygnal-0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e.tar.gz cygnal-0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e.tar.bz2 cygnal-0a9edd73e3abb85162f9d79bc57cf4df1f9d8f1e.zip |
readdir() with mount point dentry, return mount point INO
This patch fixes a minor compatibility issue w/ cygwin mount point handling in
readdir(), compared to equivalent behavior of Linux and MacOS. dentry.d_ino
should indicate the INO of the mount point itself, not the target volume root
folder.
Changed return type from readdir_check_reparse_point to uint8_t, to avoid
unnecessarily being implicitly cast to and from a signed int.
Renamed a related local variable "attr" to "oattr" that was eclipsing a member
variable with the same name.
Joe L.
Diffstat (limited to 'newlib/libc')
0 files changed, 0 insertions, 0 deletions