Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-11-27 23:14:49 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-11-28 12:55:52 +0300
commit89a1e4a573d40b233011402f42630b970ff71291 (patch)
treecbeedcf1aca909d5bac5f4c377df1eda1ec9fa53 /newlib/libc/ctype/towupper.c
parent8e009dce7c82538119766cc0e3a6c91f3248ea5a (diff)
Cygwin: open(2): reset sparseness on O_TRUNCated filescygwin-3.4.10
open(2) implements O_TRUNC by just reducing the size of the file to 0, to make sure EAs stay available. Turns out, file sparseness is not removed this way either, so add code to do just that. Fixes: 603ef545bdbd ("* fhandler.cc (fhandler_base::open): Never open files with FILE_OVERWITE/FILE_OVERWRITE_IF.") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/ctype/towupper.c')
0 files changed, 0 insertions, 0 deletions