| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merges with a file that lacks newlines (\n) were triggering a fatal error.
This could be easily reproduced with merge(1) and diff3(1):
$ echo foo > foo
$ echo bar > bar
$ echo -n baz > baz
$ merge -p foo bar baz
merge: failed to merge
$ diff3 -E foo bar baz
1a
=======
diff3prog: logic error
$
Fix this by properly handling short reads from the third file argument.
Only the third file argument triggered the problem. The other input
files were already handled correctly.
ok millert@
|
|
|
|
|
|
| |
a while() loop is a trap for the unwary programmer (albeit a clever
trap). Break this up into two separate assignments and using boolean
OR for clarity. OK otto@
|
|
|
|
| |
It was already removed from the rcs version by nicm@.
|
| |
|
|
|
|
|
|
|
| |
fairly easy to audit by running nm and noticing nothing beyond base
stdio except for fopen/freopen. Then review all callpaths to those
functions, and place the tame() calls.
ok sthen
|
|
|
|
| |
ok deraadt@ looks correct millert@ jung@
|
| |
|
| |
|
|
|
|
|
| |
occurrences to get_line().
Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
|
|
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
|
|
|
|
| |
print error message on stderr (instead of stdout).
ok millert, ray, tedu
|
|
|
|
| |
OK joris@, otto@
|
| |
|
|
|
|
|
| |
lots of changes possible. While there, kill an off-by-one.
Report and testing by Alexander Bluhm. ok millert@
|
|
|
|
| |
line length. OK otto@
|
|
|
|
|
|
| |
no more changes.
ok millert@
|
| |
|
| |
|
| |
|
|
(KNF and -Wall) and rewrote the shell front-end.
|