pfg e0a51429a4 patch: Bring small updates from OpenBSD
Prevent null pointer dereference on empty input files when diff requires
a specific version.

Fix division by zero for files with long lines (> 1024) in Plan B mode
by supporting arbitrarily long lines.

Obtained from:	OpenBSD (CVS Rev 1.41, 1.42)
MFC after:	1 week
2015-04-07 18:06:46 +00:00
..
2014-12-08 15:10:48 +00:00
2015-04-07 18:06:46 +00:00
2014-12-31 16:30:33 +00:00
2014-12-31 16:30:33 +00:00