aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove files that were taken off vendor branch. DifferenceXin LI2007-06-151-759/+0
| | | | | | | against vendor branch is now maintained in patchsets. Notes: svn path=/head/; revision=170761
* Terminate the execl() argument list with (char *)NULL instead of 0.Hartmut Brandt2003-11-031-2/+2
| | | | | | | | | | The later is wrong and may fail on sizeof(char *) != sizeof(int) machines. The patch has already been sent to and accepted by the diffutils author, but the file is already off the vendor branch, so correct it here in the meanwhile too. Notes: svn path=/head/; revision=121951
* Add back the "\ No newline at end of file" marker that is printed whenGarance A Drosehn2002-11-251-1/+1
| | | | | | | | | | | | | | | | comparing two files, where only one file is missing the final newline character. This undoes revisions 1.3 and 1.4, returning 'diff' to how it behaved before July 2000. We can do this now because our version of 'patch' was modified (just before 4.6-release) to understand what to do with that line. This marker is the same one generated by 'diff' under netbsd, openbsd, darwin, and linux (and any OS with "gnu-diff" installed). Reviewed by: imp freebsd-standards (back in april) Approved by: re (bmah) MFC after: 1 week Notes: svn path=/head/; revision=107251
* Also coerce diff(1) into working the other way (from no-\n to \n).Brian Feldman2000-09-151-0/+3
| | | | | | | | Taking out the evil warning fixed it one way, but didn't make the other way any better, so replace it with printing a single \n. Notes: svn path=/head/; revision=65889
* Get rid of the stupid bug where diff sticks trash in your generatedBrian Feldman2000-07-241-3/+2
| | | | | | | | | | | | | diff output; there being no trailing newline caused it to bitch and moan and ruin diffs. That's dumb, if I may say so myself. Yes, this file is coming off the vendor branch. It hasn't been updated in 6 years. Approved by: peter Notes: svn path=/head/; revision=63789
* -f -> -F for prAndrey A. Chernov1997-10-301-1/+4
| | | | Notes: svn path=/head/; revision=30857
* Initial importAndrey A. Chernov1997-10-291-0/+754
Notes: svn path=/vendor/diff/dist/; revision=30839