#
d9a9f23d |
| 27-Mar-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
diff: Integrate libdiff from OpenBSD GoT.
This adds support for two new diff algorithms, Myers diff and Patience diff.
These algorithms perform a different form of search compared to the classic St
diff: Integrate libdiff from OpenBSD GoT.
This adds support for two new diff algorithms, Myers diff and Patience diff.
These algorithms perform a different form of search compared to the classic Stone algorithm and support escapes when worst case scenarios are encountered.
Add the -A flag to allow selection of the algorithm, but default to using the new Myers diff implementation.
The libdiff implementation currently only supports a subset of input and output options supported by diff. When these options are used, but the algorithm is not selected, automatically fallback to the classic Stone algorithm until support for these modes can be added.
Based on work originally done by thj@ with contributions from kevans@.
Sponsored by: Klara, Inc. Reviewed by: thj Differential Revision: https://reviews.freebsd.org/D44302
show more ...
|
Revision tags: release/13.3.0, release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
f7d6e97e |
| 28-Feb-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Fix indentation in usr.bin/diff/pr.c
In commit 6fa5bf0832ef the pr(1) related code in diff was moved around, but some part of the indentation was messed up, and one line was duplicated. Remove the d
Fix indentation in usr.bin/diff/pr.c
In commit 6fa5bf0832ef the pr(1) related code in diff was moved around, but some part of the indentation was messed up, and one line was duplicated. Remove the duplicated line, and fix up the indentation.
Reviewed by: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34398
show more ...
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
43d7b1c0 |
| 12-Jun-2018 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Fix memory leak
CID: 1393352
|
#
5a43dca2 |
| 12-Jun-2018 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Correctly test return value of pipe(2)
CID: 1393351
|
#
6fa5bf08 |
| 09-Jun-2018 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Isolate the pr(1) related code in its own source files
This keeps diffreg.c closer to what it is supposed to do: diffing regular files.
It also allows my code to get a proper license
|