You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ga...@apache.org on 2022/07/01 16:25:08 UTC

[hadoop] 05/07: Add documentation

This is an automated email from the ASF dual-hosted git repository.

gaurava pushed a commit to branch nix-flags-x-platform
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 89e825cb24fa4871d4e8ebf556ba51236134e41c
Author: Gautham Banasandra <ga...@gmail.com>
AuthorDate: Fri Jul 1 21:52:55 2022 +0530

    Add documentation
---
 .../src/main/native/libhdfspp/lib/x-platform/stat.h                    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/x-platform/stat.h b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/x-platform/stat.h
index aec72609d19..d234944f2c1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/x-platform/stat.h
+++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/x-platform/stat.h
@@ -22,6 +22,9 @@
 #if defined(_WIN32)
 
 // Windows.
+// These are derived from sys/stat.h from POSIX. Windows defines some of these
+// macros, but not all. Thus, we align with the bits defined by POSIX for all of
+// them.
 #define S_IRUSR 0400
 #define S_IWUSR 0200
 #define S_IXUSR 0100


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org