commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r816666 - in /commons/sandbox/runtime/trunk/src/main: java/org/apache/commons/runtime/io/FileProtection.java native/include/acr_file.h
Date Fri, 18 Sep 2009 15:14:33 GMT
Author: mturk
Date: Fri Sep 18 15:14:31 2009
New Revision: 816666

URL: http://svn.apache.org/viewvc?rev=816666&view=rev
Log:
Add missing defines from APR

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
    commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java?rev=816666&r1=816665&r2=816666&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
Fri Sep 18 15:14:31 2009
@@ -50,6 +50,8 @@
     /** Execute by others */
     WEXECUTE(   0x0001),
 
+    /** Copy source file's permissions */
+    SOURCE(     0x1000),
     /** Use OS's default permissions */
     OS_DEFAULT( 0x0FFF);
 

Modified: commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h?rev=816666&r1=816665&r2=816666&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h Fri Sep 18 15:14:31 2009
@@ -70,7 +70,7 @@
 #define ACR_FPROT_OS_DEFAULT  0x0FFF /**< use OS's default permissions */
 
 /* additional permission flags for apr_file_copy  and apr_file_append */
-#define ACR_FPROT_FILE_SOURCE_PERMS 0x1000 /**< Copy source file's permissions */
+#define ACR_FPROT_SOURCE      0x1000 /**< Copy source file's permissions */
 
 /**
  * @defgroup apr_file_open_flags File Open Flags/Routines



Mime
View raw message