diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2025-02-26 15:37:56 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2025-02-26 15:37:56 +0100 |
commit | 323729f654ae3524642115ed35330819f647a023 (patch) | |
tree | f985236bd81f536304f516b0527d86dd25b403b5 /newlib/libc/stdlib/arc4random.c | |
parent | 230f4802edfba76da303e57a11ea04d67bc31b0d (diff) | |
download | newlib-323729f654ae3524642115ed35330819f647a023.zip newlib-323729f654ae3524642115ed35330819f647a023.tar.gz newlib-323729f654ae3524642115ed35330819f647a023.tar.bz2 |
Cygwin: fhandler_netdrive: rework share enumeration
- As before, first try NFS for dotted names, but additionally check if
the NFS profvider is installed.
- Next try *any* provider (i.e. provider = 0). Move the necessary
heuristics into thread_netdrive_wnet with lots of comments.
- Last, but not least, if the server was already tried for NFS,
but WNetGetResourceInformationW returns WNNC_NET_MS_NFS again
when trying any provider, bail out and retry with SMB, since
many NFS servers could be SMB servers as well.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/arc4random.c')
0 files changed, 0 insertions, 0 deletions