Eliminate stdio calls by using the new EOL-translating stream.
Eliminate stdio calls by using the new EOL-translating stream.

Suggested by: brane

* subversion/libsvn_subr/config_file.c
  (parse_context_t): Replace the FILE pointer with a stream.  Also,
  add fields required for emulating ungetc().
  (parser_getc, parser_ungetc):  Emulate behaviour available for FILEs,
  but not for streams, since we switched to streams now.
  (parser_getc, parser_ungetc,
   skip_whitespace, skip_to_eoln): Return svn_error_t pointers and take
  a ctx argument to be able to call parser_getc().
  (parse_value, parse_option, parse_section_name,
   svn_config__parse_file): Replace FILE related with stream related code,
  cleaning up where possible.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@857635 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion