aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/arm/aeabi_memset-arm.S
diff options
context:
space:
mode:
authorJeremy Drake <cygwin@jdrake.com>2025-08-18 15:59:54 -0700
committerJeremy Drake <cygwin@jdrake.com>2025-08-18 17:14:18 -0700
commit2934367c3d8096da72cac29e3404333fc2d3152f (patch)
tree626065f17380c73da1626261bc94e11d760205e6 /newlib/libc/machine/arm/aeabi_memset-arm.S
parentfb0a539efa0278fd18915fc072bc30b4851a9b75 (diff)
downloadnewlib-master.zip
newlib-master.tar.gz
newlib-master.tar.bz2
Cygwin: fix finding overlaps from F_SETLKW.HEADmastermain
The commit adding OFD locks changed from comparing just the F_POSIX and F_LOCK flags to comparing the entire flags value in order to make sure the locks are of the same type. However, the F_WAIT flag may or may not be set, and result in that comparison not matching. Mask the F_WAIT flag when attempting to compare the types of the locks. This fixes the "many_locks" stc. Signed-off-by: Jeremy Drake <cygwin@jdrake.com> Fixes: a66ed519884d ("Cygwin: fcntl: implement Open File Description (OFD) locks")
Diffstat (limited to 'newlib/libc/machine/arm/aeabi_memset-arm.S')
0 files changed, 0 insertions, 0 deletions