In FSFS, make get_next_revision_ids close the current file so that it can be moved on Win32.  Also fix a few other portability issues in FSFS related to variable sizing.
In FSFS, make get_next_revision_ids close the current file so that it
can be moved on Win32.  Also fix a few other portability issues in
FSFS related to variable sizing.

* subversion/libsvn_fs_fs/fs_fs.c
  (hash_write): Pass an apr_size_t variable as the length to
    svn_stream_write.
  (get_root_changes_offset): Use an apr_size_t variable as the
    parameter to svn_io_file_read.
  (get_next_revision_ids): Close the 'current' file after finishing
    with it.


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

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