Author: stsp
Date: Mon Jan 21 13:00:04 2013
New Revision: 1436325
URL: http://svn.apache.org/viewvc?rev=1436325&view=rev
Log:
* subversion/libsvn_client/patch.c
(readline_symlink): Instead of copying text from another function's docstring,
let's add a reference to the other function instead.
Modified:
subversion/trunk/subversion/libsvn_client/patch.c
Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=1436325&r1=1436324&r2=1436325&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Mon Jan 21 13:00:04 2013
@@ -829,17 +829,10 @@ struct symlink_baton_t
svn_boolean_t at_eof;
};
-/* Allocate *STRINGBUF in RESULT_POOL, and read into it one line from
- * the symlink accessed via BATON.
+/* Allocate *STRINGBUF in RESULT_POOL, and store into it the "normal form"
+ * of the symlink accessed via BATON.
*
- * Copied from file handling:
- * Reading stops either after a line-terminator was found,
- * or if EOF is reached in which case *EOF is set to TRUE.
- * The line-terminator is not stored in *STRINGBUF.
- *
- * The line-terminator is detected automatically and stored in *EOL
- * if EOL is not NULL. If EOF is reached and FILE does not end
- * with a newline character, and EOL is not NULL, *EOL is set to NULL.
+ * Otherwise behaves like readline_file(), which see.
*
* SCRATCH_POOL is used for temporary allocations.
*/