Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asprintf returns -1, not an arbitrary value < 0. Also upon error the | Baptiste Daroussin | 2020-01-14 | 1 | -2/+2 |
| | | | | | | | | | | | (very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. Obtained from: OpenBSD MFC after: 3 days Notes: svn path=/head/; revision=356724 | ||||
* | Import diff from OpenBSD and remove GNU diff | Baptiste Daroussin | 2017-03-11 | 1 | -0/+88 |
Some of the modifications from the previous summer of code has been integrated Modification for compatibility with GNU diff output has been added Main difference with OpenBSD: Implement multiple GNU diff options: * --ignore-file-name-case * --no-ignore-file-name-case * --normal * --tabsize * --strip-trailing-cr Make diff -p compatible with GNU diff Implement diff -l Make diff -r compatible with GNU diff Capsicumize diffing 2 regular files Add a simple test suite Approved by: AsiaBSDcon devsummit Obtained from: OpenBSD, GSoC Relnotes: yes Notes: svn path=/head/; revision=315051 |