In the patch code, factor out the code dealing with closing streams to its own function for readability.
In the patch code, factor out the code dealing with closing streams to
its own function for readability.

* subversion/libsvn_client/patch.c
  (close_target_streams): New. Created with code from ...
  (apply_one_patch): .. here.

Suggested by: stsp

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion