Author: danielsh
Date: Sun Aug 18 14:25:20 2013
New Revision: 1515119

URL: http://svn.apache.org/r1515119
Log:
swig-py: prevent a segfaulting function from being called.  Also hide it from
swig-pl where it is unusable (raises a TypeError(!?) if called).

Found by: Clemens Gruber
URL: 
http://thread.gmane.org/gmane.comp.version-control.subversion.trac.devel/7811

* subversion/bindings/swig/include/svn_types.swg
  (svn_fs_set_warning_func): Hide from swig-py and swig-pl.

Modified:
    subversion/trunk/subversion/bindings/swig/include/svn_types.swg

Modified: subversion/trunk/subversion/bindings/swig/include/svn_types.swg
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/include/svn_types.swg?rev=1515119&r1=1515118&r2=1515119&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/include/svn_types.swg (original)
+++ subversion/trunk/subversion/bindings/swig/include/svn_types.swg Sun Aug 18 
14:25:20 2013
@@ -922,6 +922,12 @@ svn_ ## TYPE ## _swig_rb_closed(VALUE se
   $2 = (void *)baton;
 }
 #endif
+#ifdef SWIGPERL
+%ignore svn_fs_set_warning_func;
+#endif
+#ifdef SWIGPYTHON
+%ignore svn_fs_set_warning_func;
+#endif
 
 /* -----------------------------------------------------------------------
    svn_stream_t interoperability with language native io handles


Reply via email to