You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/02/26 22:37:53 UTC

svn commit: r1572274 - /subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp

Author: breser
Date: Wed Feb 26 21:37:52 2014
New Revision: 1572274

URL: http://svn.apache.org/r1572274
Log:
* subversion/bindings/javahl/native/OperationContext.cpp: Remove APR compat code

Modified:
    subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp?rev=1572274&r1=1572273&r2=1572274&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp Wed Feb 26 21:37:52 2014
@@ -492,21 +492,11 @@ public:
       response_out(NULL),
       jclosecb(NULL)
     {
-#if APR_VERSION_AT_LEAST(1, 3, 0)
       status = apr_file_pipe_create_ex(&request_in, &request_out,
                                        APR_FULL_BLOCK, pool);
       if (!status)
         status = apr_file_pipe_create_ex(&response_in, &response_out,
                                          APR_FULL_BLOCK, pool);
-#else
-      // XXX APR compatibility note:
-      // Versions of APR before 1.3 do not have the extended pipe
-      // API. Just create a default pipe and just hope that it returns
-      // a blocking handle.
-      status = apr_file_pipe_create(&request_in, &request_out, pool);
-      if (!status)
-        status = apr_file_pipe_create(&response_in, &response_out, pool);
-#endif
     }
 
   ~TunnelContext()