You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Grosberg <my...@gladesoft.com> on 2004/11/20 04:28:46 UTC

[PATCH] Constify a few vtables.

In my never ending quest to save writable pages, here is a patch to make 
a few of the various vtables that the FS hands around const.

This is just a start. If this gets merged in I'll do the other vtables as 
I have time.

Thanks,
Mark G.

-------------------------------------------------------------------------

[[[

* subversion/libsvn_fs_base/tree.c
   (history_vtable, root_vtable): Make constant.

* subversion/libsvn_fs/fs-loader.h
   (svn_fs_root_t, svn_fs_history_t): Make vtable pointers constant.

* subversion/libsvn_fs_fs/tree.c
   (history_vtable, root_vtable): Make constant.


]]]

Re: [PATCH] Constify a few vtables.

Posted by Michael W Thelen <mi...@pietdepsi.com>.
Mark Grosberg wrote:
> In my never ending quest to save writable pages, here is a patch to make 
> a few of the various vtables that the FS hands around const.
> 
> This is just a start. If this gets merged in I'll do the other vtables 
> as I have time.

Thank you for this patch.  I've (finally) filed it as issue #2177:
http://subversion.tigris.org/issues/show_bug.cgi?id=2177

-- 
Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams