diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2024-04-09 16:52:58 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-04-09 17:02:35 +0200 |
commit | 2855c35c41ed5c950e40ce0ae0d99d00185e05ad (patch) | |
tree | 69e4670767938614d8a6721131e6b11529c22010 /depcomp | |
parent | 38b51398359076eed01d8f1b0f9c061d16a658f5 (diff) | |
download | newlib-2855c35c41ed5c950e40ce0ae0d99d00185e05ad.zip newlib-2855c35c41ed5c950e40ce0ae0d99d00185e05ad.tar.gz newlib-2855c35c41ed5c950e40ce0ae0d99d00185e05ad.tar.bz2 |
Cygwin: fhandler_virtual::exists: always set fileid
Commit a0a25849f9dd ("Cygwin: fhandler_virtual: move fileid to path_conv
member") broke `ls -l /proc/<PID>'. Turns out, the commit forgot to set
the fileid in case of a virtual root dir (i. e., returning virt_rootdir)
in fhandlers utilizing fileid. This crashed opendir() due to a random
fileid.
Make sure to set fileid in any case.
Fixes: a0a25849f9dd ("Cygwin: fhandler_virtual: move fileid to path_conv member")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions