You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2010/09/20 16:20:00 UTC
svn commit: r998942 - /subversion/trunk/subversion/svnrdump/dump_editor.c
Author: artagnon
Date: Mon Sep 20 14:20:00 2010
New Revision: 998942
URL: http://svn.apache.org/viewvc?rev=998942&view=rev
Log:
* subversion/svnrdump/dump_editor.c
(apply_textdelta): Followup r998933 to fix the build on
Windows. Don't put declarations after statements: this is a C89
limitation.
Modified:
subversion/trunk/subversion/svnrdump/dump_editor.c
Modified: subversion/trunk/subversion/svnrdump/dump_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnrdump/dump_editor.c?rev=998942&r1=998941&r2=998942&view=diff
==============================================================================
--- subversion/trunk/subversion/svnrdump/dump_editor.c (original)
+++ subversion/trunk/subversion/svnrdump/dump_editor.c Mon Sep 20 14:20:00 2010
@@ -640,14 +640,14 @@ apply_textdelta(void *file_baton, const
{
struct dump_edit_baton *eb = file_baton;
- LDR_DBG(("apply_textdelta %p\n", file_baton));
-
/* Custom handler_baton allocated in a separate pool */
apr_pool_t *handler_pool = svn_pool_create(pool);
struct handler_baton *hb = apr_pcalloc(handler_pool, sizeof(*hb));
hb->pool = handler_pool;
hb->eb = eb;
+ LDR_DBG(("apply_textdelta %p\n", file_baton));
+
/* Use a temporary file to measure the text-content-length */
SVN_ERR(svn_stream_open_unique(&(hb->delta_filestream), &hb->delta_abspath,
NULL, svn_io_file_del_none, hb->pool,