You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/02/08 20:42:52 UTC

svn commit: r1068541 - /subversion/trunk/subversion/include/svn_diff.h

Author: stsp
Date: Tue Feb  8 19:42:51 2011
New Revision: 1068541

URL: http://svn.apache.org/viewvc?rev=1068541&view=rev
Log:
* subversion/include/svn_diff.h
  (svn_diff_hunk_readline_diff_text,
   svn_diff_hunk_readline_modified_text): Document the EOF parameter.

Found by: blair

Modified:
    subversion/trunk/subversion/include/svn_diff.h

Modified: subversion/trunk/subversion/include/svn_diff.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_diff.h?rev=1068541&r1=1068540&r2=1068541&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_diff.h (original)
+++ subversion/trunk/subversion/include/svn_diff.h Tue Feb  8 19:42:51 2011
@@ -928,8 +928,8 @@ typedef struct svn_diff_hunk_t svn_diff_
  * text will be returned in reversed form.
  * The line-terminator is detected automatically and stored in @a *eol
  * if @a eol is not NULL.
- * If EOF is reached and the stream does not end with a newline character,
- * and @a eol is not NULL, @a *eol is set to NULL.
+ * If EOF is reached, set @a *eof to TRUE, and set @a *eol to NULL if the
+ * hunk does not end with a newline character and @a eol is not NULL.
  * Temporary allocations will be performed in @a scratch_pool.
  *
  * @since New in 1.7.
@@ -947,8 +947,8 @@ svn_diff_hunk_readline_diff_text(svn_dif
  * of the original text of @a hunk.
  * The line-terminator is detected automatically and stored in @a *eol
  * if @a eol is not NULL.
- * If EOF is reached and the stream does not end with a newline character,
- * and @a eol is not NULL, @a *eol is set to NULL.
+ * If EOF is reached, set @a *eof to TRUE, and set @a *eol to NULL if the
+ * hunk text does not end with a newline character and @a eol is not NULL.
  * Temporary allocations will be performed in @a scratch_pool.
  *
  * @see svn_diff_hunk_t