HomeFreeBSD

diff: restore compatibility with GNU diff regarding -N option

Description

diff: restore compatibility with GNU diff regarding -N option

When -N is used the missing files are treated as empty.

PR: 233402
Submitted by: Fehmi Noyan Isi <fnoyanisi@yahoo.com>
Reported by: Roman Neuhauser <roman@sigpipe.cz>
MFC after: 3 days
Differential Revision: D25081

Details

Provenance
baptAuthored on
Differential Revision
D25081: diff(1) -N to treat missing file as empty
Parents
rS361688: Restore compatibility with GNU diff regarding --label
Branches
Unknown
Tags
Unknown