Bug 7454

Summary: diff -N does not work
Product: Busybox Reporter: Jiri Prchal <jiri.prchal>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: busybox-cvs, jiri.prchal, rjayavrp2
Priority: P5    
Version: 1.22.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: diff non exiting file with -N option

Description Jiri Prchal 2014-09-24 06:18:17 UTC
diff does not "Treat absent files as empty", insted of outputs error:

/ # diff -N /mnt/card/akpkg/sys.conf /var/aksum/sys.con
diff: can't stat '/var/aksum/sys.con': No such file or directory
Comment 1 Dmitrey Salnikov 2015-07-11 08:16:06 UTC
Created attachment 6101 [details]
diff non exiting file with -N option

Hi, I created patch. Maybe you can test it.
Comment 2 Denys Vlasenko 2017-05-05 16:49:42 UTC
Fixed in git, thanks