diff options
author | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2002-02-01 22:11:38 +0000 |
---|---|---|
committer | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2002-02-01 22:11:38 +0000 |
commit | cf3e132adbd8f73e6c89e764104d20d200536e1b (patch) | |
tree | 2830e7596b3f5e69b15cada7808dc46438409e59 | |
parent | 903b672241ad9e9d2e4942b5b415a123c00d8b46 (diff) | |
download | libapr-cf3e132adbd8f73e6c89e764104d20d200536e1b.tar.gz |
I mangled the APR_U* permission bits the other day, when I folded in
Philip's patch. This puts them back to their original values (which
matches the OS_DEFAULT mask, and does not conflict with the
FILE_SOURCE_PERMS flag).
Also corrected the change to APR_OS_DEFAULT -- it should not have been
changed to 0xFFFF. That fixed the symptom, not the cause.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62897 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | include/apr_file_info.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/apr_file_info.h b/include/apr_file_info.h index 02ce8a890..42f123b28 100644 --- a/include/apr_file_info.h +++ b/include/apr_file_info.h @@ -94,9 +94,9 @@ typedef enum { * @{ */ -#define APR_UREAD 0x4000 /**< Read by user */ -#define APR_UWRITE 0x2000 /**< Write by user */ -#define APR_UEXECUTE 0x1000 /**< Execute by user */ +#define APR_UREAD 0x0400 /**< Read by user */ +#define APR_UWRITE 0x0200 /**< Write by user */ +#define APR_UEXECUTE 0x0100 /**< Execute by user */ #define APR_GREAD 0x0040 /**< Read by group */ #define APR_GWRITE 0x0020 /**< Write by group */ @@ -106,7 +106,7 @@ typedef enum { #define APR_WWRITE 0x0002 /**< Write by others */ #define APR_WEXECUTE 0x0001 /**< Execute by others */ -#define APR_OS_DEFAULT 0xFFFF /**< use OS's default permissions */ +#define APR_OS_DEFAULT 0x0FFF /**< use OS's default permissions */ /* additional permission flags for apr_file_copy and apr_file_append */ #define APR_FILE_SOURCE_PERMS 0x1000 /**< Copy source file's permissions */ |