Checkout
stsp
committed
on 02 Feb 12
Allow callers of svn_io_start_cmd() to specify custom environments the
child process should inherit.

This commit enhances the svn_io_start_… Show more
Allow callers of svn_io_start_cmd() to specify custom environments the

child process should inherit.

This commit enhances the svn_io_start_cmd() API, but nothing uses the

new functionality yet.

* subversion/include/svn_io.h

 (svn_io_start_cmd3): Declare.

 (svn_io_start_cmd2): Deprecate.

* subversion/libsvn_subr/deprecated.c

 (svn_io_start_cmd2): Re-implement as wrapper around svn_io_start_cmd3().

* subversion/libsvn_subr/io.c

 (svn_io_start_cmd3): New. Like svn_io_start_cmd2(), but with a new

  ENV parameter that can be used to inherit a custom environment to

  the child process.

Show less