aboutsummaryrefslogtreecommitdiff
path: root/COPYING.NEWLIB
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-08-09 17:06:14 -0400
committerKen Brown <kbrown@cornell.edu>2022-08-10 07:47:24 -0400
commit55eb8b193f9f6e7b8733bf83c9f7f9d2818c67d3 (patch)
tree1bb054345edfb80dd41451c799b22731bcda5e08 /COPYING.NEWLIB
parent32d4afa4a3e25a44dc67cac586c924c3a2fc16a3 (diff)
downloadnewlib-55eb8b193f9f6e7b8733bf83c9f7f9d2818c67d3.zip
newlib-55eb8b193f9f6e7b8733bf83c9f7f9d2818c67d3.tar.gz
newlib-55eb8b193f9f6e7b8733bf83c9f7f9d2818c67d3.tar.bz2
Cygwin: fix return value of symlink_info::check
Currently it is possible for symlink_info::check to return -1 in case we're searching for foo and find foo.lnk that is not a Cygwin symlink. This contradicts the new meaning attached to a negative return value in commit 19d59ce75d. Fix this by setting "res" to 0 at the beginning of the main loop and not seting it to -1 later. Also fix the commentary preceding the function definition to reflect the current behavior. Addresses: https://cygwin.com/pipermail/cygwin/2022-August/252030.html
Diffstat (limited to 'COPYING.NEWLIB')
0 files changed, 0 insertions, 0 deletions