Revert r1485650 as it was incorrect.  The stream converts to native
encoding so explicitly converting the strings results in a double
conversion.

* subversion/svnadmin/svnadmin.c
  (cmdline_stream_printf): Remove.
  (repos_notify_handler): Go back to svn_stream_printf/svn_stream_puts.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1506966 13f79535-47bb-0310-9956-ffa450edef68
Fix a crash in JavaHL caused by double-free that was the result of ambiguous
object ownership. Not using smart pointers makes life more interesting.

* subversion/bindings/javahl/native/RemoteSession.h
  (RemoteSession::open, RemoteSession::RemoteSession): Change the prompter
   parameter to a reference to a pointer.
* subversion/bindings/javahl/native/RemoteSession.cpp
  (RemoteSession::open): Update to changed prototype.
  (RemoteSession::RemoteSession): As above, and set the caller's copy of
   the prompter pointer to NULL to avoid double-free.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1506983 13f79535-47bb-0310-9956-ffa450edef68