subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1572274 - /subversion/trunk/subversion/bindings/javahl/native/OperationContext.cpp
Date Wed, 26 Feb 2014 21:37:53 GMT
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()



Mime
View raw message