"B. W. Fitzpatrick" <fitz@red-bean.com> writes:
> Finally decided to start poking around in the filesystem and can't get
> it to build. Applied Yoshiki's patch to dag.h first. Up to date
> working copy and clean build.
I do get the same error. It's intentionally done by this
commit.
User: jimb
Date: 01/02/26 09:54:07
Modified: subversion/libsvn_fs dag.c
Log:
* libsvn_fs/dag.c (dag_node_t): Rename `contents' member to
`node_revision'. There are new rules for accessing this member, and
this makes sure any code referring to `contents' will break.
(uncache_node_revision, cache_node_revision, get_node_revision_cached,
set_node_revision_cached): New functions.
I workaround this by adding back contents member to
dag_node_t and compiler found a real bug. :-)
Index: dag.c
===================================================================
RCS file: /cvs/subversion/subversion/libsvn_fs/dag.c,v
retrieving revision 1.49
diff -u -r1.49 dag.c
--- dag.c 2001/02/27 00:52:00 1.49
+++ dag.c 2001/02/27 06:03:37
@@ -239,7 +240,7 @@
skel_t *entry = entry_list->children;
/* search the entry list for one whose name matches NAME. */
- for (entry = entry_list->children; entry; entry->entry->next)
+ for (entry = entry_list->children; entry; entry = entry->next)
if (svn_fs__matches_atom (entry->children, name))
return entry;
}
--
Yoshiki Hayashi
Received on Sat Oct 21 14:36:23 2006