aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/memccpy.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2025-07-08 21:54:19 +0200
committerCorinna Vinschen <corinna@vinschen.de>2025-07-08 22:15:17 +0200
commitc86c08e0ab41ba8d181876a4bdcfa4cd62264827 (patch)
tree4425361d91c0e1648e77da44f06fb9a6aba56ee2 /newlib/libc/string/memccpy.c
parent41b5f280bde34a202fe1c8dff1793b1a8e62d4f7 (diff)
downloadnewlib-master.zip
newlib-master.tar.gz
newlib-master.tar.bz2
Cygwin: open: only fix file attributes when trying to create fileHEADmastermain
Only try to fix the cached DOS attributes if the caller actually tried to create the file. Otherwise the fixup code is called even in cases where we open the file with minimal query access bits and NtQueryInformationFile() could fail with STATUS_ACCESS_DENIED and the new cached DOS attributes are wrong again. Fixes: 37c49decc835f ("Cygwin: open: only fix up cached DOS file attributes for on-disk files") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/string/memccpy.c')
0 files changed, 0 insertions, 0 deletions