* subversion/libsvn_ra_local/commit_editor.c
Fixed non constants in struct initializers.
* subversion/subversion/tests/libsvn_repos/dir-delta-editor.c
Fixed non constants in struct initializers.
Index: subversion/subversion/libsvn_ra_local/commit_editor.c
===================================================================
--- subversion/subversion/libsvn_ra_local/.svn/text-base/commit_editor.c.svn-base Sun Dec 2 13:44:20 2001
+++ subversion/subversion/libsvn_ra_local/commit_editor.c Tue Dec 4 11:06:18 2001
@@ -490,7 +490,9 @@
{
struct file_baton *fb = file_baton;
struct edit_baton *eb = fb->parent->edit_baton;
- svn_string_t propvalue = { value->data, value->len };
+ svn_string_t propvalue;
+ propvalue.data = value->data;
+ propvalue.len = value->len;
/* This routine is a mindless wrapper. */
SVN_ERR (svn_fs_change_node_prop (eb->txn_root, fb->path->data,
@@ -507,7 +509,9 @@
{
struct dir_baton *db = dir_baton;
struct edit_baton *eb = db->edit_baton;
- svn_string_t propvalue = { value->data, value->len };
+ svn_string_t propvalue;
+ propvalue.data = value->data;
+ propvalue.len = value->len;
/* This routine is a mindless wrapper. */
SVN_ERR (svn_fs_change_node_prop (eb->txn_root, db->path->data,
Index: subversion/subversion/tests/libsvn_repos/dir-delta-editor.c
===================================================================
--- subversion/subversion/tests/libsvn_repos/.svn/text-base/dir-delta-editor.c.svn-base Sun Dec 2 13:36:11 2001
+++ subversion/subversion/tests/libsvn_repos/dir-delta-editor.c Tue Dec 4 11:44:30 2001
@@ -265,7 +265,9 @@
svn_stringbuf_t *name, svn_stringbuf_t *value)
{
struct file_baton *fb = (struct file_baton *) file_baton;
- svn_string_t propvalue = { value->data, value->len };
+ svn_string_t propvalue;
+ propvalue.data = value->data;
+ propvalue.len = value->len;
return svn_fs_change_node_prop (fb->dir_baton->edit_baton->txn_root,
fb->path->data, name->data, &propvalue,
@@ -278,7 +280,9 @@
svn_stringbuf_t *name, svn_stringbuf_t *value)
{
struct dir_baton *d = (struct dir_baton *) parent_baton;
- svn_string_t propvalue = { value->data, value->len };
+ svn_string_t propvalue;
+ propvalue.data = value->data;
+ propvalue.len = value->len;
return svn_fs_change_node_prop (d->edit_baton->txn_root,
d->path->data, name->data, &propvalue,
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006