apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r425926 - /apr/apr/branches/0.9.x/file_io/win32/open.c
Date Thu, 27 Jul 2006 01:20:22 GMT
Author: wrowe
Date: Wed Jul 26 18:20:22 2006
New Revision: 425926

URL: http://svn.apache.org/viewvc?rev=425926&view=rev
Log:

  This is a companion to the get permissions patch, from trunk, which
  is required in order for a file opened for read to inspect the perms
  at the same time.

Modified:
    apr/apr/branches/0.9.x/file_io/win32/open.c

Modified: apr/apr/branches/0.9.x/file_io/win32/open.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/file_io/win32/open.c?rev=425926&r1=425925&r2=425926&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/file_io/win32/open.c (original)
+++ apr/apr/branches/0.9.x/file_io/win32/open.c Wed Jul 26 18:20:22 2006
@@ -326,6 +326,8 @@
         else {
             return APR_EACCES;
         }
+        if (flag & APR_READCONTROL)
+            oflags |= READ_CONTROL;
     }
 
     if (flag & APR_XTHREAD) {



Mime
View raw message