/[Apache-SVN]
ViewVC logotype

Revision 1686181


Jump to revision: Previous Next
Author: philip
Date: Thu Jun 18 11:02:24 2015 UTC (9 years, 5 months ago)
Changed paths: 19
Log Message:
Add an apr_status_t parameter to dav_svn__new_error() and
dav_svn__new_error_svn().  This allows us to avoid dropping the
status when ap_fflush() and ap_pass_brigade() calls fail, and a
few other calls as well.  Most calls currently pass zero.

dav_svn__new_error() was originally modelled on dav_new_error() in
httpd 2.0 which did not support passing an apr_status_t but in 2.4
an apr_status_t parameter was added.

* subversion/mod_dav_svn/dav_svn.h
  (dav_svn__new_error_svn, dav_svn__new_error): Add APR status parameter.

* subversion/mod_dav_svn/util.c
  (dav_svn__new_error, dav_svn__new_error_svn): Add APR status parameter.
  (dav_svn__final_flush_or_error): Pass status.
  (build_error_chain, dav_svn__test_canonical): Pass zero.

* subversion/mod_dav_svn/repos.c
  (deliver): Pass status or zero.
  (prep_working, prep_activity, prep_private, prep_resource,
   dav_svn_split_uri2, get_parentpath_resource, parse_querystring,
   get_resource, get_parent_resource, open_stream, seek_stream,
   create_collection, copy_resource, remove_resource, move_resource,
   do_walk, dav_svn__create_version_resource, handle_post_request,
   dav_svn__method_post): Pass zero.

* subversion/mod_dav_svn/lock.c
  (unescape_xml): Pass status.
  (dav_lock_to_svn_lock, get_locks, find_lock, has_locks,
   append_locks, remove_lock, refresh_locks): Pass zero.

* subversion/mod_dav_svn/merge.c
  (dav_svn__merge_response): Pass status or zero.

* subversion/mod_dav_svn/activity.c
  (dav_svn__delete_activity): Pass zero.

* subversion/mod_dav_svn/deadprops.c
  (save_value, db_open, decode_property_value, db_store): Pass zero.

* subversion/mod_dav_svn/reports/dated-rev.c
  (dav_svn__dated_rev_report): Pass zero.

* subversion/mod_dav_svn/reports/deleted-rev.c
  (dav_svn__get_deleted_rev_report): Pass zero.

* subversion/mod_dav_svn/reports/file-revs.c
  (dav_svn__file_revs_report): Pass zero.

* subversion/mod_dav_svn/reports/get-location-segments.c
  (dav_svn__get_location_segments_report): Pass zero.

* subversion/mod_dav_svn/reports/get-locations.c
  (dav_svn__get_locations_report): Pass zero.

* subversion/mod_dav_svn/reports/get-locks.c
  (dav_svn__get_locks_report): Pass zero.

* subversion/mod_dav_svn/reports/inherited-props.c
  (dav_svn__get_inherited_props_report): Pass zero.

* subversion/mod_dav_svn/reports/log.c
  (dav_svn__log_report): Pass zero.

* subversion/mod_dav_svn/reports/mergeinfo.c
  (dav_svn__get_mergeinfo_report): Pass zero.

* subversion/mod_dav_svn/reports/replay.c
  (make_editor, dav_svn__replay_report): Pass zero.

* subversion/mod_dav_svn/reports/update.c
  (malformed_element_error, dav_svn__update_report): Pass zero.

* subversion/mod_dav_svn/version.c
  (set_auto_revprops, vsn_control, dav_svn__checkout, uncheckout,
   dav_svn__checkin, deliver_report, make_activity, merge): Pass zero.


Changed paths

Path Details
Directorysubversion/trunk/subversion/mod_dav_svn/activity.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/dav_svn.h modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/deadprops.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/lock.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/merge.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/dated-rev.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/deleted-rev.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/file-revs.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/get-location-segments.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/get-locations.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/get-locks.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/inherited-props.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/log.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/mergeinfo.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/replay.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/reports/update.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/repos.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/util.c modified , text changed
Directorysubversion/trunk/subversion/mod_dav_svn/version.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26