gstein 02/02/01 14:11:38
Modified: include apr_file_info.h
Log:
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.
Revision Changes Path
1.27 +4 -4 apr/include/apr_file_info.h
Index: apr_file_info.h
===================================================================
RCS file: /home/cvs/apr/include/apr_file_info.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- apr_file_info.h 1 Feb 2002 14:56:30 -0000 1.26
+++ apr_file_info.h 1 Feb 2002 22:11:38 -0000 1.27
@@ -94,9 +94,9 @@
* @{
*/
-#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 @@
#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 */