Changeset: cd57e48187de for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/cd57e48187de
Modified Files:
        common/utils/mutils.c
        gdk/ChangeLog.Jan2022
Branch: Jan2022
Log Message:

Also set no indexing attribute on directories we create.
Add changelog message.


diffs (24 lines):

diff --git a/common/utils/mutils.c b/common/utils/mutils.c
--- a/common/utils/mutils.c
+++ b/common/utils/mutils.c
@@ -690,6 +690,8 @@ MT_mkdir(const char *pathname)
        if (wpathname == NULL)
                return -1;
        int ret = _wmkdir(wpathname);
+       if (ret == 0)
+               SetFileAttributesW(wpathname, 
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
        free(wpathname);
        return ret;
 }
diff --git a/gdk/ChangeLog.Jan2022 b/gdk/ChangeLog.Jan2022
--- a/gdk/ChangeLog.Jan2022
+++ b/gdk/ChangeLog.Jan2022
@@ -1,3 +1,8 @@
 # ChangeLog file for GDK
 # This file is updated with Maddlog
 
+* Tue Jan 11 2022 Sjoerd Mullender <[email protected]>
+- On Windows, files and directories we create now get the attribute
+  FILE_ATTIBUTE_NOT_CONTENT_INDEXED, meaning that they should not be
+  indexed by indexing or search services.
+
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to