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>2021-11-16 20:36:27 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-11-16 21:58:56 +0300
commit9980177def176225457a0f371c7c070dc627b3dc (patch)
tree3fdf5c0f99ed5b9865b36a6ccb506b8a9c973d6d /winsup/cygwin/fhandler.cc
parentbff995a7809a310bd5d510b7875a2eb465c8cc2a (diff)
Revert "Cygwin: set the FILE_ATTRIBUTE_ARCHIVE DOS attribute on file creation"
This reverts commit 2b28977149b1e8858b597890906f21cdecde84ce. This patch fixes the symptoms, but not the actual problem. Revert and try again.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 4e708595a..2a07e6cf9 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -649,8 +649,7 @@ fhandler_base::open (int flags, mode_t mode)
if (flags & (O_CREAT | O_TMPFILE))
{
- file_attributes |= (flags & O_TMPFILE)
- ? FILE_ATTRIBUTE_NORMAL : FILE_ATTRIBUTE_ARCHIVE;
+ file_attributes |= FILE_ATTRIBUTE_NORMAL;
if (pc.fs_is_nfs ())
{