FreeBSD/contrib/subversion/subversion/libsvn_fs/fs-loader.c
/* A default warning handling function.  */
A default warning handling function.
A default warning handling function .
static void
default_warning_func(void *baton, svn_error_t *err)
{
  if (svn_error_get_malfunction_handler()
      == svn_error_abort_on_malfunction)
    svn_handle_error2(err, stderr, FALSE , "svn: fs-loader: ");
  SVN_ERR_MALFUNCTION_NO_RETURN();
}
static void default_warning_func ( void * baton , svn_error_t * err ) { if ( svn_error_get_malfunction_handler ( ) == svn_error_abort_on_malfunction ) svn_handle_error2 ( err , stderr , FALSE , " " ) ; SVN_ERR_MALFUNCTION_NO_RETURN ( ) ; }
A default warning handling function.
A default warning handling function .
/* The one unforgiveable sin is to fail silently.  Dumping to stderr
     or /dev/tty is not acceptable default behavior for server
     processes, since those may both be equivalent to /dev/null.

     That said, be a good citizen and print something anyway, in case it goes
     somewhere, and our caller hasn't overridden the abort() call.
   */ /* ### TODO: extend the malfunction API such that non-abort()ing consumers
       ### also get the information on ERR. */ /* fatal */