diff options
author | Greg Stein <gstein@apache.org> | 2002-02-01 22:11:38 +0000 |
---|---|---|
committer | Greg Stein <gstein@apache.org> | 2002-02-01 22:11:38 +0000 |
commit | 7f3d90d3f9a769e7fe98860f93b4e60571bd53bf (patch) | |
tree | 2830e7596b3f5e69b15cada7808dc46438409e59 /include/apr_file_info.h | |
parent | 4a618f449710e0d64f5b1a3bb8369ad234632271 (diff) | |
download | apr-7f3d90d3f9a769e7fe98860f93b4e60571bd53bf.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: https://svn.apache.org/repos/asf/apr/apr/trunk@62897 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_info.h')
-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 */ |