summaryrefslogtreecommitdiffstats
path: root/contrib/diff/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Terminate the execl() argument list with (char *)NULL instead of 0.harti2003-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.
* Add back the "\ No newline at end of file" marker that is printed whengad2002-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
* Also coerce diff(1) into working the other way (from no-\n to \n).green2000-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.
* Get rid of the stupid bug where diff sticks trash in your generatedgreen2000-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
* -f -> -F for prache1997-10-301-1/+4
|
* Initial importache1997-10-291-0/+754
OpenPOWER on IntegriCloud