This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Fix outdated S_JUSTCREATED comment
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 19 Aug 2016 14:50:29 -0000
- Subject: [newlib-cygwin] Fix outdated S_JUSTCREATED comment
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3e8f833df0689701b6188b975a9af7a061e910ee
commit 3e8f833df0689701b6188b975a9af7a061e910ee
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Aug 19 16:27:07 2016 +0200
Fix outdated S_JUSTCREATED comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/security.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h
index 7695f75..6ce6875 100644
--- a/winsup/cygwin/security.h
+++ b/winsup/cygwin/security.h
@@ -11,9 +11,9 @@ details. */
#include <accctrl.h>
#include <dsgetdc.h>
-/* Special file attribute set, for instance, in open() and mkdir() to
- flag that a file has just been created. Used in alloc_sd, see there. */
-#define S_JUSTCREATED 0x80000000
+/* Special file attribute set in set_created_file_access to flag that a file
+ has just been created. Used in get_posix_access. */
+#define S_JUSTCREATED 0x80000000
/* UID/GID */
void uinfo_init ();