-
Notifications
You must be signed in to change notification settings - Fork 831
Fix incorrect function name and description for xdiff_string_rabdiff() #4996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- $Revision$ --> | ||
| <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> | ||
| <!-- Corrected function signature and description for xdiff_string_rabdiff --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comments should be deleted.
| <refnamediv> | ||
| <refname>xdiff_string_rabdiff</refname> | ||
| <refpurpose>Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm</refpurpose> | ||
| <refpurpose>Make a binary diff of two strings using the Rabin's polynomial fingerprinting algorithm</refpurpose> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <refpurpose>Make a binary diff of two strings using the Rabin's polynomial fingerprinting algorithm</refpurpose> | |
| <refpurpose> | |
| Make a binary diff of two strings using the Rabin's polynomial fingerprinting algorithm | |
| </refpurpose> |
| <function>xdiff_file_bpatch</function> for applying patches. | ||
| </para> | ||
| <para> | ||
| This function can be used with both text and binary data. The resulting diff data can later be applied to recreate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The projects recommends sticking to 80 character line limit. Could you please split up the long lines?
| Returns a binary diff string containing the differences between the old and new data, or | ||
| <constant>false</constant> if an internal error occurred. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Returns a binary diff string containing the differences between the old and new data, or | |
| <constant>false</constant> if an internal error occurred. | |
| Returns a binary diff string containing the differences between the old and new data,&return.falseforfailure;. |
| <title><function>xdiff_string_rabdiff</function> example</title> | ||
| <para> | ||
| The following example creates a binary diff between two strings and stores it for later patching. | ||
| </para> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please merge them together and keep the sentence a bit shorter? E.g. <title>Creation of a binary diff between two strings</title>
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
| sgml-omittag:t | ||
| sgml-shorttag:t | ||
| sgml-minimize-attributes:nil | ||
| sgml-always-quote-attributes:t | ||
| sgml-indent-step:1 | ||
| sgml-indent-data:t | ||
| indent-tabs-mode:nil | ||
| sgml-parent-document:nil | ||
| sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
| sgml-exposed-tags:nil | ||
| sgml-local-catalogs:nil | ||
| sgml-local-ecat-files:nil | ||
| End: | ||
| vim600: syn=xml fen fdm=syntax fdl=2 si | ||
| vim: et tw=78 syn=sgml | ||
| vi: ts=1 sw=1 | ||
| --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add spaces here?
This PR fixes the
xdiff_string_rabdiff()documentation, which incorrectly displayed the function name and description forxdiff_string_bdiff().Changes:
Issue here #4987