[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: filesystem build broken or is it just me?

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-02-27 07:07:20 CET

"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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.