You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/09/15 17:06:25 UTC
svn commit: r997358 -
/subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
Author: hwright
Date: Wed Sep 15 15:06:25 2010
New Revision: 997358
URL: http://svn.apache.org/viewvc?rev=997358&view=rev
Log:
* subversion/bindings/javahl/native/SVNClient.cpp
(patch): Fix the build by providing the correct number of parameters.
Add a comment that this should probably be parameterized in the future.
Modified:
subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
Modified: subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp?rev=997358&r1=997357&r2=997358&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/SVNClient.cpp Wed Sep 15 15:06:25 2010
@@ -1580,10 +1580,11 @@ SVNClient::patch(const char *patchPath,
Path checkedTargetPath(targetPath);
SVN_JNI_ERR(checkedTargetPath.error_occured(), );
+ // Should parameterize the following, instead of defaulting to FALSE
SVN_JNI_ERR(svn_client_patch(checkedPatchPath.c_str(),
checkedTargetPath.c_str(),
- dryRun, stripCount, reverse, ignoreWhitespace,
- removeTempfiles,
+ dryRun, stripCount, FALSE, reverse,
+ ignoreWhitespace, removeTempfiles,
PatchCallback::callback, callback,
ctx, requestPool.pool(),
requestPool.pool()), );